From 6c769ad65cf528389012efc400b29b6e57a4f352 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Sun, 15 Sep 2024 21:37:05 -0700 Subject: [PATCH] fix: update error message --- lib/node_modules/@stdlib/blas/sswap/lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/sswap/lib/main.js b/lib/node_modules/@stdlib/blas/sswap/lib/main.js index 18873dfa8ee..b9ca7e99a34 100644 --- a/lib/node_modules/@stdlib/blas/sswap/lib/main.js +++ b/lib/node_modules/@stdlib/blas/sswap/lib/main.js @@ -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 ) {