Skip to content

Commit f910e02

Browse files
committed
done
1 parent 1bc14f0 commit f910e02

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanskewness/test

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/incr/nanskewness/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
var tape = require( 'tape' );
2424
var abs = require( '@stdlib/math/base/special/abs' );
2525
var EPS = require( '@stdlib/constants/float64/eps' );
26-
var isnan = require( '@stdlib/math/base/assert/is-nan' );
26+
var max = require( '@stdlib/math/base/special/max' );
2727
var incrnanskewness = require( './../lib' );
2828

2929

@@ -90,10 +90,10 @@ tape( 'if not provided an input value, the accumulator function returns the curr
9090
for ( i = 0; i < data.length; i++ ) {
9191
acc( data[ i ] );
9292
}
93-
expected = 2.01370082728659;;
93+
expected = 2.01370082728659;
9494
actual = acc();
9595
delta = abs( actual - expected );
96-
tol = Math.max(1e-12, Number.EPSILON * Math.abs(expected));
96+
tol = max(1e-12, Number.EPSILON * abs(expected));
9797
t.ok( delta <= tol, 'within tolerance. actual: '+actual+'. E: '+expected+' Δ: '+delta+'. tol: '+tol );
9898
t.end();
9999
});

0 commit comments

Comments
 (0)