Skip to content

Commit 90d98ba

Browse files
authored
fix: remove assertion
Signed-off-by: Athan <kgryte@gmail.com>
1 parent e52e171 commit 90d98ba

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/gvander/lib

lib/node_modules/@stdlib/blas/ext/base/gvander/lib/ndarray.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ var base = require( './base.js' );
4343
* @param {NonNegativeInteger} offsetOut - starting index for `out`
4444
* @throws {RangeError} second argument must be a nonnegative integer
4545
* @throws {RangeError} third argument must be a nonnegative integer
46-
* @throws {RangeError} fifth argument must be non-zero
4746
* @returns {NumericArray} output matrix
4847
*
4948
* @example
@@ -60,9 +59,6 @@ function gvander( mode, M, N, x, strideX, offsetX, out, strideOut1, strideOut2,
6059
if ( N < 0 ) {
6160
throw new RangeError( format( 'invalid argument. Third argument must be a nonnegative integer. Value: `%d`.', N ) );
6261
}
63-
if ( strideX === 0 ) {
64-
throw new RangeError( format( 'invalid argument. Fifth argument must be non-zero. Value: `%d`.', strideX ) );
65-
}
6662
if ( M === 0 || N === 0 ) {
6763
return out;
6864
}

0 commit comments

Comments
 (0)