File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/node_modules/@stdlib/array/base/binary2d/benchmark Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ var add = require( '@stdlib/number/float64/base/add' );
2929var filled2dBy = require ( '@stdlib/array/base/filled2d-by' ) ;
3030var zeros2d = require ( '@stdlib/array/base/zeros2d' ) ;
3131var numel = require ( '@stdlib/ndarray/base/numel' ) ;
32+ var format = require ( '@stdlib/string/format' ) ;
3233var pkg = require ( './../package.json' ) . name ;
3334var binary2d = require ( './../lib' ) ;
3435
@@ -111,7 +112,7 @@ function main() {
111112 N = floor ( pow ( pow ( 10 , i ) , 1.0 / 2.0 ) ) ;
112113 sh = [ N , N ] ;
113114 f = createBenchmark ( sh ) ;
114- bench ( pkg + ' ::square_matrix:size=' + numel ( sh ) , f ) ;
115+ bench ( format ( '%s ::square_matrix:size=%d' , pkg , numel ( sh ) ) , f ) ;
115116 }
116117}
117118
You can’t perform that action at this time.
0 commit comments