diff options
Diffstat (limited to '2.3-1/src/c/statisticsFunctions/moment/smoments.c')
-rw-r--r-- | 2.3-1/src/c/statisticsFunctions/moment/smoments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2.3-1/src/c/statisticsFunctions/moment/smoments.c b/2.3-1/src/c/statisticsFunctions/moment/smoments.c index aee9dc9e..c900d815 100644 --- a/2.3-1/src/c/statisticsFunctions/moment/smoments.c +++ b/2.3-1/src/c/statisticsFunctions/moment/smoments.c @@ -8,7 +8,7 @@ float smoments (float* inp, int size, double ord) { float sum = 0; - for(int i = 0; i < size; i++) + for(int i = 0; i < size; i++) // Elements are raised to the order and then their mean is calculated to give moment { sum = sum + pow(inp[i], ord); } |