Skip to content

Commit 49d7694

Browse files
authored
chore: fix bug
1 parent e48f3bc commit 49d7694

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/smeanwd/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/smeanwd/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ float API_SUFFIX(stdlib_strided_smeanwd_ndarray)( const CBLAS_INT N, const float
7878
for ( i = 0; i < N; i++ ) {
7979
n += 1.0;
8080
mu += (float)((double)( X[ix]-mu ) / n);
81-
ix += stride;
81+
ix += strideX;
8282
}
8383
return mu;
8484
}

0 commit comments

Comments
 (0)