diff options
Diffstat (limited to 'src/c/implicitList/dimplicitLists.c')
-rw-r--r-- | src/c/implicitList/dimplicitLists.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/implicitList/dimplicitLists.c b/src/c/implicitList/dimplicitLists.c index 1c7753f8..a06f91e1 100644 --- a/src/c/implicitList/dimplicitLists.c +++ b/src/c/implicitList/dimplicitLists.c @@ -21,7 +21,7 @@ void dimplicitLists(double start, double step, double end, double *out) { if (start < start + step) { - iNbElements = floor((end - start) / step) + 1; + iNbElements = (int)(floor((end - start) / step) + 1); out[0] = start; } } @@ -29,7 +29,7 @@ void dimplicitLists(double start, double step, double end, double *out) { if (start > start + step) { - iNbElements = floor((start - end) / step) + 1; + iNbElements = (int)(floor((start - end) / step) + 1); out[0] = start; } } |