@@ -223,7 +223,7 @@ fn test_slice_array_dyn() {
223223 AxisSliceInfo :: from ( 1 ..) ,
224224 AxisSliceInfo :: from ( 1 ) ,
225225 AxisSliceInfo :: from ( NewAxis ) ,
226- AxisSliceInfo :: from ( ..) . step_by ( 2 ) ,
226+ AxisSliceInfo :: from ( Slice :: from ( ..) . step_by ( 2 ) ) ,
227227 ] )
228228 . unwrap ( ) ;
229229 arr. slice ( info) ;
@@ -232,7 +232,7 @@ fn test_slice_array_dyn() {
232232 let info2 = SliceInfo :: < _ , Ix3 , IxDyn > :: try_from ( [
233233 AxisSliceInfo :: from ( 1 ..) ,
234234 AxisSliceInfo :: from ( 1 ) ,
235- AxisSliceInfo :: from ( ..) . step_by ( 2 ) ,
235+ AxisSliceInfo :: from ( Slice :: from ( ..) . step_by ( 2 ) ) ,
236236 ] )
237237 . unwrap ( ) ;
238238 arr. view ( ) . slice_collapse ( info2) ;
@@ -245,7 +245,7 @@ fn test_slice_dyninput_array_dyn() {
245245 AxisSliceInfo :: from ( 1 ..) ,
246246 AxisSliceInfo :: from ( 1 ) ,
247247 AxisSliceInfo :: from ( NewAxis ) ,
248- AxisSliceInfo :: from ( ..) . step_by ( 2 ) ,
248+ AxisSliceInfo :: from ( Slice :: from ( ..) . step_by ( 2 ) ) ,
249249 ] )
250250 . unwrap ( ) ;
251251 arr. slice ( info) ;
@@ -254,7 +254,7 @@ fn test_slice_dyninput_array_dyn() {
254254 let info2 = SliceInfo :: < _ , Ix3 , IxDyn > :: try_from ( [
255255 AxisSliceInfo :: from ( 1 ..) ,
256256 AxisSliceInfo :: from ( 1 ) ,
257- AxisSliceInfo :: from ( ..) . step_by ( 2 ) ,
257+ AxisSliceInfo :: from ( Slice :: from ( ..) . step_by ( 2 ) ) ,
258258 ] )
259259 . unwrap ( ) ;
260260 arr. view ( ) . slice_collapse ( info2) ;
@@ -267,7 +267,7 @@ fn test_slice_dyninput_vec_fixed() {
267267 AxisSliceInfo :: from( 1 ..) ,
268268 AxisSliceInfo :: from( 1 ) ,
269269 AxisSliceInfo :: from( NewAxis ) ,
270- AxisSliceInfo :: from( ..) . step_by( 2 ) ,
270+ AxisSliceInfo :: from( Slice :: from ( ..) . step_by( 2 ) ) ,
271271 ] )
272272 . unwrap ( ) ;
273273 arr. slice ( info) ;
@@ -276,7 +276,7 @@ fn test_slice_dyninput_vec_fixed() {
276276 let info2 = SliceInfo :: < _ , Ix3 , Ix2 > :: try_from ( vec ! [
277277 AxisSliceInfo :: from( 1 ..) ,
278278 AxisSliceInfo :: from( 1 ) ,
279- AxisSliceInfo :: from( ..) . step_by( 2 ) ,
279+ AxisSliceInfo :: from( Slice :: from ( ..) . step_by( 2 ) ) ,
280280 ] )
281281 . unwrap ( ) ;
282282 arr. view ( ) . slice_collapse ( info2) ;
@@ -289,7 +289,7 @@ fn test_slice_dyninput_vec_dyn() {
289289 AxisSliceInfo :: from( 1 ..) ,
290290 AxisSliceInfo :: from( 1 ) ,
291291 AxisSliceInfo :: from( NewAxis ) ,
292- AxisSliceInfo :: from( ..) . step_by( 2 ) ,
292+ AxisSliceInfo :: from( Slice :: from ( ..) . step_by( 2 ) ) ,
293293 ] )
294294 . unwrap ( ) ;
295295 arr. slice ( info) ;
@@ -298,7 +298,7 @@ fn test_slice_dyninput_vec_dyn() {
298298 let info2 = SliceInfo :: < _ , Ix3 , IxDyn > :: try_from ( vec ! [
299299 AxisSliceInfo :: from( 1 ..) ,
300300 AxisSliceInfo :: from( 1 ) ,
301- AxisSliceInfo :: from( ..) . step_by( 2 ) ,
301+ AxisSliceInfo :: from( Slice :: from ( ..) . step_by( 2 ) ) ,
302302 ] )
303303 . unwrap ( ) ;
304304 arr. view ( ) . slice_collapse ( info2) ;
0 commit comments