Skip to content

Commit

Permalink
fix: remove unnecessary cast and fix wasm configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Dec 2, 2023
1 parent 401111d commit 0c35964
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions lib/node_modules/@stdlib/blas/base/dnrm2/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,7 @@
"-m"
],
"libpath": [],
"dependencies": [
"@stdlib/napi/export",
"@stdlib/napi/argv",
"@stdlib/napi/argv-int64",
"@stdlib/napi/argv-strided-float64array"
]
"dependencies": []
}
]
}
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/base/dnrm2/src/addon.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 1 );

napi_value v;
napi_status status = napi_create_double( env, c_dnrm2( N, (double *)X, strideX ), &v );
napi_status status = napi_create_double( env, c_dnrm2( N, X, strideX ), &v );
assert( status == napi_ok );

return v;
Expand Down

1 comment on commit 0c35964

@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/dasum $\color{green}427/427$
$\color{green}+100.00\%$
$\color{green}38/38$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}427/427$
$\color{green}+100.00\%$
blas/base/dcopy $\color{green}464/464$
$\color{green}+100.00\%$
$\color{green}43/43$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}464/464$
$\color{green}+100.00\%$
blas/base/ddot $\color{green}454/454$
$\color{green}+100.00\%$
$\color{green}45/45$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}454/454$
$\color{green}+100.00\%$
blas/base/dnrm2 $\color{green}408/408$
$\color{green}+100.00\%$
$\color{green}32/32$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}408/408$
$\color{green}+100.00\%$
blas/base/dscal $\color{green}427/427$
$\color{green}+100.00\%$
$\color{green}41/41$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}427/427$
$\color{green}+100.00\%$

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

Please sign in to comment.