Skip to content

Commit 22eafb0

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent dc2bed3 commit 22eafb0

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/docs

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/ext/base/wasm/dnansumkbn2/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@
450450
> var xptr = 0;
451451

452452
// Write data to module memory:
453-
> mod.write( xptr, [ 1, 2, 3, NaN ] );
453+
> mod.write( xptr, new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, NaN ] ) );
454454

455455
// Perform computation:
456456
> var s = mod.main( 3, xptr, 1 )
@@ -491,7 +491,7 @@
491491
> var xptr = 0;
492492

493493
// Write data to module memory:
494-
> mod.write( xptr, [ 1, 2, 3, NaN ] );
494+
> mod.write( xptr, new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, NaN ] ) );
495495

496496
// Perform computation:
497497
> var s = mod.ndarray( 4, xptr, 1, 0 )

0 commit comments

Comments
 (0)