Skip to content

Commit 75faea6

Browse files
authored
chore: update benchmark
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent c476dcd commit 75faea6

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/zdotc/benchmark

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/zdotc/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ function createBenchmark( len ) {
6868
b.tic();
6969
for ( i = 0; i < b.iterations; i++ ) {
7070
z = zdotc( x.length, x, 1, y, 1 );
71-
if ( isnan( real( z ) ) || isnan( imag( z ) ) ) {
71+
if ( isnan( real( z ) ) ) {
7272
b.fail( 'should not return NaN' );
7373
}
7474
}
7575
b.toc();
76-
if ( isnan( real( z ) ) ) ) {
76+
if ( isnan( real( z ) ) ) {
7777
b.fail( 'should not return NaN' );
7878
}
7979
b.pass( 'benchmark finished' );

0 commit comments

Comments
 (0)