Skip to content

Commit 6c769ad

Browse files
committed
fix: update error message
1 parent a90c34d commit 6c769ad

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/blas/sswap/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/sswap/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function sswap( x, y ) {
106106
}
107107
// Validate that the arrays have the same shape...
108108
if ( !hasEqualValues( xsh, ysh ) ) {
109-
throw new Error( 'invalid arguments. The first and second arguments must have the shape.' );
109+
throw new Error( 'invalid arguments. The first and second arguments must have the same shape.' );
110110
}
111111
// Validate that the dimension argument is a negative integer...
112112
if ( arguments.length > 2 ) {

0 commit comments

Comments
 (0)