summaryrefslogtreecommitdiff
path: root/src/auxiliaryFunctions/includes/length.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/auxiliaryFunctions/includes/length.h')
-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__ */