Skip to content

Commit

Permalink
fix: update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Sep 16, 2024
1 parent a90c34d commit 6c769ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/blas/sswap/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function sswap( x, y ) {
}
// Validate that the arrays have the same shape...
if ( !hasEqualValues( xsh, ysh ) ) {
throw new Error( 'invalid arguments. The first and second arguments must have the shape.' );
throw new Error( 'invalid arguments. The first and second arguments must have the same shape.' );
}
// Validate that the dimension argument is a negative integer...
if ( arguments.length > 2 ) {
Expand Down

0 comments on commit 6c769ad

Please sign in to comment.