Skip to content

Commit e20f4e4

Browse files
authored
fix: condition check in blas/base/dsyr2 ndarray
PR-URL: #6532 Reviewed-by: Athan Reines <[email protected]>
1 parent baee728 commit e20f4e4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/base/dsyr2/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function dsyr2( uplo, N, alpha, x, strideX, offsetX, y, strideY, offsetY, A, str
7070
throw new RangeError( format( 'invalid argument. Fifth argument must be non-zero. Value: `%d`.', strideX ) );
7171
}
7272
if ( strideY === 0 ) {
73-
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideX ) );
73+
throw new RangeError( format( 'invalid argument. Eighth argument must be non-zero. Value: `%d`.', strideY ) );
7474
}
7575
if ( N === 0 || alpha === 0.0 ) {
7676
return A;

0 commit comments

Comments
 (0)