Skip to content

Commit be9ffd8

Browse files
authored
fix: address parentheses
Signed-off-by: Athan <[email protected]>
1 parent 6b8fe35 commit be9ffd8

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/icamax/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/icamax/lib/ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ function icamax( N, x, strideX, offsetX ) {
5959
max = scabs1( x.get( offsetX ) );
6060
ix = offsetX + strideX;
6161
for ( i = 1; i < N; i++ ) {
62-
v = scabs1( x.get( ix );
63-
if ( v ) > max ) {
62+
v = scabs1( x.get( ix ) );
63+
if ( v > max ) {
6464
idx = i;
6565
max = v;
6666
}

0 commit comments

Comments
 (0)