summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions
diff options
context:
space:
mode:
authortorset2009-01-09 15:50:18 +0000
committertorset2009-01-09 15:50:18 +0000
commit9d66ab3c5fe27b62252e1a2c8c7a037d9a5af9b9 (patch)
tree9cc45c860fa8a90acbcf4e15e558cca3648575e7 /src/auxiliaryFunctions
parentb3437dab1ab616fcbd4942ba3d0f37992fba82ef (diff)
downloadscilab2c-9d66ab3c5fe27b62252e1a2c8c7a037d9a5af9b9.tar.gz
scilab2c-9d66ab3c5fe27b62252e1a2c8c7a037d9a5af9b9.tar.bz2
scilab2c-9d66ab3c5fe27b62252e1a2c8c7a037d9a5af9b9.zip
update
Diffstat (limited to 'src/auxiliaryFunctions')
-rw-r--r--src/auxiliaryFunctions/includes/length.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/auxiliaryFunctions/includes/length.h b/src/auxiliaryFunctions/includes/length.h
index eec80cbe..8402a05e 100644
--- a/src/auxiliaryFunctions/includes/length.h
+++ b/src/auxiliaryFunctions/includes/length.h
@@ -64,7 +64,7 @@
** \param length : the number of elements.
** \return the length of in.
**/
-#define slengtha(in, size) size
+#define slengtha(in, size) (float)size
/**
** \brief Double length Array function
@@ -73,7 +73,7 @@
** \param length : the number of elements.
** \return the length of in.
**/
-#define dlengtha(in, size) size
+#define dlengtha(in, size) (double)size
/**
** \brief Complex Float length Array function
@@ -82,7 +82,7 @@
** \param length : the number of elements.
** \return the length of in.
**/
-#define clengtha(in, size) size
+#define clengtha(in, size) (float)size
/**
** \brief Complex Double length Array function
@@ -91,6 +91,6 @@
** \param length : the number of elements.
** \return the length of in.
**/
-#define zlengtha(in, size) size
+#define zlengtha(in, size) (double)size
#endif /* !__LENGTH_H__ */