File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,9 @@ fn bin_pervade_recursive_mut<T>(
310
310
}
311
311
}
312
312
( ash, bsh) => {
313
+ if ash[ 0 ] == 0 || bsh[ 0 ] == 0 {
314
+ return ;
315
+ }
313
316
let a_row_len = a_data. len ( ) / ash[ 0 ] ;
314
317
let b_row_len = b_data. len ( ) / bsh[ 0 ] ;
315
318
for ( a, b) in a_data
@@ -342,6 +345,9 @@ fn bin_pervade_recursive_mut_left<T>(
342
345
}
343
346
}
344
347
( ash, bsh) => {
348
+ if ash[ 0 ] == 0 || bsh[ 0 ] == 0 {
349
+ return ;
350
+ }
345
351
let a_row_len = a_data. len ( ) / ash[ 0 ] ;
346
352
let b_row_len = b_data. len ( ) / bsh[ 0 ] ;
347
353
for ( a, b) in a_data
@@ -374,6 +380,9 @@ fn bin_pervade_recursive_mut_right<T>(
374
380
}
375
381
}
376
382
( ash, bsh) => {
383
+ if ash[ 0 ] == 0 || bsh[ 0 ] == 0 {
384
+ return ;
385
+ }
377
386
let a_row_len = a_data. len ( ) / ash[ 0 ] ;
378
387
let b_row_len = b_data. len ( ) / bsh[ 0 ] ;
379
388
for ( a, b) in a_data
You can’t perform that action at this time.
0 commit comments