Skip to content

Commit 6f23e36

Browse files
authored
refactor: wrap intermediate result
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 07ff330 commit 6f23e36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/stats/strided/snanmskmidrange/lib

lib/node_modules/@stdlib/stats/strided/snanmskmidrange/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function snanmskmidrange( N, x, strideX, offsetX, mask, strideMask, offsetMask )
9393
max = v;
9494
}
9595
}
96-
return float64ToFloat32( ( max + min ) / 2.0 );
96+
return float64ToFloat32( float64ToFloat32( max + min ) / 2.0 );
9797
}
9898

9999

0 commit comments

Comments
 (0)