@@ -65,7 +65,7 @@ var base = require( './base.js' );
6565* var B = new Float32Array( [ 0.0, 5.0, 7.0, 0.0, 8.0 ] );
6666*
6767* strsm( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 2, B, 2, 1, 1 );
68- * // B => <Float32Array>[ 0.0, 30.0, 0 .0, 0.0, 12.0 ]
68+ * // B => <Float32Array>[ 0.0, 30.0, 6 .0, 0.0, 12.0 ]
6969*/
7070function strsm ( side , uplo , transa , diag , M , N , alpha , A , strideA1 , strideA2 , offsetA , B , strideB1 , strideB2 , offsetB ) { // eslint-disable-line max-len, max-params
7171 if ( ! isOperationSide ( side ) ) {
@@ -80,13 +80,13 @@ function strsm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of
8080 if ( ! isDiagonalType ( diag ) ) {
8181 throw new TypeError ( format ( 'invalid argument. Fourth argument must specify whether the matrix is unit triangular or not. Value: `%s`.' , diag ) ) ;
8282 }
83- if ( M < 0 ) {
83+ if ( M < 0 ) {
8484 throw new RangeError ( format ( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.' , M ) ) ;
8585 }
8686 if ( N < 0 ) {
8787 throw new RangeError ( format ( 'invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.' , N ) ) ;
8888 }
89- if ( strideB1 === 0 ) {
89+ if ( strideB1 === 0 ) {
9090 throw new RangeError ( format ( 'invalid argument. Thirteenth argument must be non-zero. Value: `%d`.' , strideB1 ) ) ;
9191 }
9292 if ( strideB2 === 0 ) {
0 commit comments