File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/node_modules/@stdlib/ndarray/slice-assign/test Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2691,8 +2691,8 @@ tape( 'the function supports safely casting input array elements to the data typ
2691
2691
e = expected [ i ] ;
2692
2692
if ( isComplexDataType ( actual . dtype ) ) {
2693
2693
for ( j = 0 ; j < v . length ; j ++ ) {
2694
- t . strictEqual ( real ( v [ j ] ) , e [ j * 2 ] , 'returns expected value' ) ;
2695
- t . strictEqual ( imag ( v [ j ] ) , e [ ( j * 2 ) + 1 ] , 'returns expected value' ) ;
2694
+ t . strictEqual ( real ( v . get ( j ) ) , e [ j * 2 ] , 'returns expected value' ) ;
2695
+ t . strictEqual ( imag ( v . get ( j ) ) , e [ ( j * 2 ) + 1 ] , 'returns expected value' ) ;
2696
2696
}
2697
2697
} else {
2698
2698
for ( j = 0 ; j < v . length ; j ++ ) {
@@ -2738,8 +2738,8 @@ tape( 'the function supports downcasting floating-point input array elements to
2738
2738
e = expected [ i ] ;
2739
2739
if ( isComplexDataType ( actual . dtype ) ) {
2740
2740
for ( j = 0 ; j < v . length ; j ++ ) {
2741
- t . strictEqual ( real ( v [ j ] ) , e [ j * 2 ] , 'returns expected value' ) ;
2742
- t . strictEqual ( imag ( v [ j ] ) , e [ ( j * 2 ) + 1 ] , 'returns expected value' ) ;
2741
+ t . strictEqual ( real ( v . get ( j ) ) , e [ j * 2 ] , 'returns expected value' ) ;
2742
+ t . strictEqual ( imag ( v . get ( j ) ) , e [ ( j * 2 ) + 1 ] , 'returns expected value' ) ;
2743
2743
}
2744
2744
} else {
2745
2745
for ( j = 0 ; j < v . length ; j ++ ) {
You can’t perform that action at this time.
0 commit comments