File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/node_modules/@stdlib/blas/base/wasm/scnrm2/benchmark Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ function createBenchmark( len ) {
8080 // Initialize the module:
8181 mod . initializeSync ( ) ; // eslint-disable-line node/no-sync
8282
83- // Reallocate the underlying memory to allow storing one vector and a complex number :
83+ // Reallocate the underlying memory to allow storing one vector:
8484 nb = bytesPerElement ( 'complex64' ) ;
85- mod . realloc ( ( N * nb ) + nb ) ;
85+ mod . realloc ( N * nb ) ;
8686
8787 // Define a pointer (i.e., byte offset) to the first vector element:
8888 xptr = 0 ;
Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ function createBenchmark( len ) {
8080 // Initialize the module:
8181 mod . initializeSync ( ) ; // eslint-disable-line node/no-sync
8282
83- // Reallocate the underlying memory to allow storing one vector and a complex number :
83+ // Reallocate the underlying memory to allow storing one vector:
8484 nb = bytesPerElement ( 'complex64' ) ;
85- mod . realloc ( ( N * nb ) + nb ) ;
85+ mod . realloc ( N * nb ) ;
8686
8787 // Define a pointer (i.e., byte offset) to the first vector element:
8888 xptr = 0 ;
You can’t perform that action at this time.
0 commit comments