Skip to content

Commit c4f7264

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent e87b0be commit c4f7264

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/dnansumors/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/ext/base/dnansumors/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ function dnansumors( N, x, strideX, offsetX ) {
4747
var ix;
4848
var i;
4949

50-
ix = offsetX;
5150
sum = 0.0;
5251
if ( N <= 0 ) {
5352
return sum;
5453
}
54+
ix = offsetX;
5555
if ( strideX === 0 ) {
5656
if ( isnan( x[ ix ] ) ) {
5757
return sum;

0 commit comments

Comments
 (0)