Skip to content

Commit

Permalink
docs: fix examples in blas/base/dnrm2-wasm
Browse files Browse the repository at this point in the history
PR-URL: #3018
Ref: 4f8bad3
Ref: #3014
Reviewed-by: Athan Reines <[email protected]>
  • Loading branch information
aman-095 authored Oct 18, 2024
1 parent 4f8bad3 commit 01e414b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ interface Routine extends ModuleWrapper {
*
* var x = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
*
* var out = dnrm2.main( x.length, 5.0, x, 1, y, 1 );
* var out = dnrm2.main( x.length, x, 1 );
* // returns ~7.42
*/
main( N: number, x: Float64Array, strideX: number ): number;
Expand Down Expand Up @@ -278,7 +278,7 @@ interface Routine extends ModuleWrapper {
* mod.write( xptr, oneTo( N, dtype ) );
*
* // Perform computation:
* var out = mod.main( N, 5.0, xptr, 1, yptr, 1 );
* var out = mod.main( N, xptr, 1 );
* // returns ~7.42
*/
Module: ModuleConstructor;
Expand Down

1 comment on commit 01e414b

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
blas/base/dnrm2-wasm $\color{green}557/557$
$\color{green}+100.00\%$
$\color{green}17/17$
$\color{green}+100.00\%$
$\color{green}6/6$
$\color{green}+100.00\%$
$\color{green}557/557$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.