@@ -215,8 +215,8 @@ tape( 'the function tests whether at least `n` elements in an n-dimensional ndar
215
215
216
216
dt = 'float64' ;
217
217
ord = 'row-major' ;
218
- sh = [ 1 , 1 , 1 , 1 , 1 , 1 , 2 , 1 , 2 , 1 , 2 ] ;
219
- st = [ 16 , 16 , 16 , 16 , 16 , 16 , 8 , - 8 , 4 , 4 , 2 ] ;
218
+ sh = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 ] ;
219
+ st = [ 16 , 16 , 16 , 16 , 16 , 16 , 16 , 16 , - 8 , - 4 , - 2 , 1 ] ;
220
220
o = strides2offset ( sh , st ) ;
221
221
222
222
x = ndarray ( dt , zeros ( numel ( sh ) * 2 , dt ) , sh , st , o , ord ) ;
@@ -353,8 +353,8 @@ tape( 'the function tests whether at least `n` elements in an n-dimensional ndar
353
353
354
354
dt = 'complex128' ;
355
355
ord = 'row-major' ;
356
- sh = [ 1 , 1 , 1 , 1 , 1 , 1 , 2 , 1 , 2 , 1 , 2 ] ;
357
- st = [ 16 , 16 , 16 , 16 , 16 , 16 , - 8 , 8 , 4 , 4 , 2 ] ;
356
+ sh = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 ] ;
357
+ st = [ 16 , 16 , 16 , 16 , 16 , 16 , - 16 , 16 , - 8 , - 4 , - 2 , 1 ] ;
358
358
o = strides2offset ( sh , st ) ;
359
359
360
360
xbuf = zeros ( numel ( sh ) * 4 , 'float64' ) ;
@@ -550,8 +550,8 @@ tape( 'the function tests whether at least `n` elements in an n-dimensional ndar
550
550
551
551
dt = 'float64' ;
552
552
ord = 'column-major' ;
553
- sh = [ 2 , 1 , 2 , 1 , 2 , 1 , 1 , 1 , 1 , 1 , 1 ] ;
554
- st = [ - 2 , 4 , 4 , 8 , 8 , 16 , 16 , 16 , 16 , 16 , 16 ] ;
553
+ sh = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 ] ;
554
+ st = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , - 1 , - 4 , 8 , - 8 ] ;
555
555
o = strides2offset ( sh , st ) ;
556
556
557
557
x = ndarray ( dt , zeros ( numel ( sh ) * 2 , dt ) , sh , st , o , ord ) ;
@@ -688,8 +688,8 @@ tape( 'the function tests whether at least `n` elements in an n-dimensional ndar
688
688
689
689
dt = 'complex128' ;
690
690
ord = 'column-major' ;
691
- sh = [ 2 , 1 , 2 , 1 , 2 , 1 , 1 , 1 , 1 , 1 , 1 ] ;
692
- st = [ - 2 , 4 , 4 , 8 , 8 , 16 , 16 , 16 , 16 , 16 , 16 ] ;
691
+ sh = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 ] ;
692
+ st = [ 1 , 1 , 1 , 1 , - 1 , 1 , - 1 , 1 , 1 , - 4 , - 8 , 8 ] ;
693
693
o = strides2offset ( sh , st ) ;
694
694
695
695
xbuf = zeros ( numel ( sh ) * 4 , 'float64' ) ;
0 commit comments