summaryrefslogtreecommitdiff
path: root/macros/CCodeGeneration/GetSymbolDimension.sci
diff options
context:
space:
mode:
authorjofret2010-06-17 10:10:04 +0000
committerjofret2010-06-17 10:10:04 +0000
commitb351d686f57f85cbe923132164ce718704bcdfa2 (patch)
tree8d73b023ff49f0d20d35bd28a85095be73ac4c1c /macros/CCodeGeneration/GetSymbolDimension.sci
parent6dc276086ebb6bad8d2f4b3a13d583a04a1920f2 (diff)
downloadscilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.tar.gz
scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.tar.bz2
scilab2c-b351d686f57f85cbe923132164ce718704bcdfa2.zip
Remove SCI2Cisnum wrapping around isnum function
Diffstat (limited to 'macros/CCodeGeneration/GetSymbolDimension.sci')
-rw-r--r--macros/CCodeGeneration/GetSymbolDimension.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/CCodeGeneration/GetSymbolDimension.sci b/macros/CCodeGeneration/GetSymbolDimension.sci
index 6f4010ac..4fe3cc8d 100644
--- a/macros/CCodeGeneration/GetSymbolDimension.sci
+++ b/macros/CCodeGeneration/GetSymbolDimension.sci
@@ -41,7 +41,7 @@ for countersize = 1:Nelem
// A symbol is column or row if the sum of the Field_Type elements is one.
// A symbol is a matrix if the sum of the Field_Type elements is > 1.
// #RNU_RES_E
- if (SCI2Cisnum(Field_Size(countersize)))
+ if (isnum(Field_Size(countersize)))
tmpnum = eval(Field_Size(countersize));
if (tmpnum == 0)
SCI2Cerror('Found a symbol that has zeros elements. 0xN or Nx0 matrices are not allowed.');