Skip to content

Commit 18abdae

Browse files
authored
bench: fix passed arguments
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent e68bf00 commit 18abdae

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/minmaxabsf/benchmark

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/math/base/special/minmaxabsf/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bench( pkg+'::minabsf,maxabsf', function benchmark( b ) {
104104

105105
b.tic();
106106
for ( i = 0; i < b.iterations; i++ ) {
107-
z = [ minabsf( x[ i%x.length ], y[ i%y.length ] ), maxabsf( x, y ) ];
107+
z = [ minabsf( x[ i%x.length ], y[ i%y.length ] ), maxabsf( x[ i%x.length ], y[ i%y.length ] ) ];
108108
if ( z.length !== 2 ) {
109109
b.fail( 'should have expected length' );
110110
}

0 commit comments

Comments
 (0)