a
This commit is contained in:
@@ -31,6 +31,9 @@ pub fn offsets(i: usize, j: usize, range: usize) -> Vec<(usize, usize)> {
|
||||
}
|
||||
|
||||
for j_o in [-(range as i16), 0, range as i16] {
|
||||
if (i_o, j_o) == (0, 0) {
|
||||
continue;
|
||||
}
|
||||
let new_j = j as i16 + j_o;
|
||||
if 0 > new_j {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user