@@ -149,7 +149,7 @@ import dediff = require( './index' );
149149 dediff ( x . length , x , 1 , 1 , p , 1 , ( x : number ) : number => x , a , 1 , out , 1 ) ; // $ExpectError
150150}
151151
152- // The compiler throws an error if the function is provided an eigth argument which is not a Float64Array...
152+ // The compiler throws an error if the function is provided an eighth argument which is not a Float64Array...
153153{
154154 const x = new Float64Array ( 10 ) ;
155155 const p = new Float64Array ( 1 ) ;
@@ -243,7 +243,7 @@ import dediff = require( './index' );
243243 const a = new Float64Array ( 1 ) ;
244244 const out = new Float64Array ( 11 ) ;
245245
246- dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 , 0 , out , 1 ) ; // $ExpectType Float64Array
246+ dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 , 0 , out , 1 , 0 ) ; // $ExpectType Float64Array
247247}
248248
249249// The compiler throws an error if the `ndarray` method is provided a first argument which is not a number...
@@ -364,7 +364,7 @@ import dediff = require( './index' );
364364 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , ( x : number ) : number => x , 0 , 1 , a , 1 , 0 , out , 1 , 0 ) ; // $ExpectError
365365}
366366
367- // The compiler throws an error if the `ndarray` method is provided an eigth argument which is not a number...
367+ // The compiler throws an error if the `ndarray` method is provided an eighth argument which is not a number...
368368{
369369 const x = new Float64Array ( 10 ) ;
370370 const p = new Float64Array ( 1 ) ;
@@ -431,7 +431,7 @@ import dediff = require( './index' );
431431 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , ( x : number ) : number => x , 0 , out , 1 , 0 ) ; // $ExpectError
432432}
433433
434- // The compiler throws an error if the `ndarray` method is provided a twelveth argument which is not a number...
434+ // The compiler throws an error if the `ndarray` method is provided a twelfth argument which is not a number...
435435{
436436 const x = new Float64Array ( 10 ) ;
437437 const p = new Float64Array ( 1 ) ;
@@ -509,15 +509,15 @@ import dediff = require( './index' );
509509 dediff . ndarray ( x . length ) ; // $ExpectError
510510 dediff . ndarray ( x . length , x ) ; // $ExpectError
511511 dediff . ndarray ( x . length , x , 1 ) ; // $ExpectError
512- dediff . ndarray ( x . length , x , 1 ) ; // $ExpectError
512+ dediff . ndarray ( x . length , x , 1 , 0 ) ; // $ExpectError
513513 dediff . ndarray ( x . length , x , 1 , 0 , 1 ) ; // $ExpectError
514514 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p ) ; // $ExpectError
515515 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 ) ; // $ExpectError
516- dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 ) ; // $ExpectError
516+ dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 ) ; // $ExpectError
517517 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 ) ; // $ExpectError
518518 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a ) ; // $ExpectError
519519 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 ) ; // $ExpectError
520- dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 ) ; // $ExpectError
520+ dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 , 0 ) ; // $ExpectError
521521 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 , 0 , out ) ; // $ExpectError
522522 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 , 0 , out , 1 ) ; // $ExpectError
523523 dediff . ndarray ( x . length , x , 1 , 0 , 1 , p , 1 , 0 , 1 , a , 1 , 0 , out , 1 , 0 , { } ) ; // $ExpectError
0 commit comments