Skip to content

Commit 027921a

Browse files
authored
chore: use number
Signed-off-by: Muhammad Haris <[email protected]>
1 parent de7b62d commit 027921a

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/slast-index-of/docs/types

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/blas/ext/base/slast-index-of/docs/types/test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ import slastIndexOf = require( './index' );
109109

110110
// The compiler throws an error if the `ndarray` method is provided a third argument which is not a Float32Array...
111111
{
112-
slastIndexOf.ndarray( x.length, 1.0, '1', 1, 1 ); // $ExpectError
113-
slastIndexOf.ndarray( x.length, 1.0, true, 1, 1 ); // $ExpectError
114-
slastIndexOf.ndarray( x.length, 1.0, false, 1, 1 ); // $ExpectError
115-
slastIndexOf.ndarray( x.length, 1.0, null, 1, 1 ); // $ExpectError
116-
slastIndexOf.ndarray( x.length, 1.0, {}, 1, 1 ); // $ExpectError
112+
slastIndexOf.ndarray( 3, 1.0, '1', 1, 1 ); // $ExpectError
113+
slastIndexOf.ndarray( 3, 1.0, true, 1, 1 ); // $ExpectError
114+
slastIndexOf.ndarray( 3, 1.0, false, 1, 1 ); // $ExpectError
115+
slastIndexOf.ndarray( 3, 1.0, null, 1, 1 ); // $ExpectError
116+
slastIndexOf.ndarray( 3, 1.0, {}, 1, 1 ); // $ExpectError
117117
}
118118

119119
// The compiler throws an error if the `ndarray` method is provided a fourth argument which is not a number...

0 commit comments

Comments
 (0)