Skip to content

Commit 8d75188

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 690cbf8 commit 8d75188

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/smediansorted/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/smediansorted/lib/ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
24-
var floorf = require( '@stdlib/math/base/special/floorf' );
24+
var floor = require( '@stdlib/math/base/special/floor' );
2525

2626

2727
// MAIN //
@@ -51,7 +51,7 @@ function smediansorted( N, x, strideX, offsetX ) {
5151
return NaN;
5252
}
5353
n = N / 2;
54-
m = floorf( n );
54+
m = floor( n );
5555
if ( n === m ) {
5656
// Even number of elements...
5757
return float64ToFloat32( float64ToFloat32( x[ offsetX+(m*strideX) ] + x[ offsetX+((m-1)*strideX) ] ) / 2.0 ); // eslint-disable-line max-len

0 commit comments

Comments
 (0)