Skip to content

Commit 2d525c9

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 178a483 commit 2d525c9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/blas/ext/base/gdiff/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ function createBenchmark( len ) {
6767
x = uniform( N, -100, 100, options );
6868
p = uniform( N1, -100, 100, options );
6969
a = uniform( N2, -100, 100, options );
70-
w = zeros( N+N1+N2-1, 'generic' );
71-
o = zeros( ol, 'generic' );
70+
w = zeros( N+N1+N2-1, options.dtype );
71+
o = zeros( ol, options.dtype );
7272
return benchmark;
7373

7474
/**

lib/node_modules/@stdlib/blas/ext/base/gdiff/benchmark/benchmark.ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ function createBenchmark( len ) {
6767
x = uniform( N, -100, 100, options );
6868
p = uniform( N1, -100, 100, options );
6969
a = uniform( N2, -100, 100, options );
70-
w = zeros( N+N1+N2-1, 'generic' );
71-
o = zeros( ol, 'generic' );
70+
w = zeros( N+N1+N2-1, options.dtype );
71+
o = zeros( ol, options.dtype );
7272
return benchmark;
7373

7474
/**

0 commit comments

Comments
 (0)