File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/node_modules/@stdlib/stats/incr/nanskewness/test Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323var tape = require ( 'tape' ) ;
2424var abs = require ( '@stdlib/math/base/special/abs' ) ;
2525var 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 ' ) ;
2727var 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} ) ;
You can’t perform that action at this time.
0 commit comments