Skip to content

Commit

Permalink
Merge pull request #9 from mattuna15/patch-6
Browse files Browse the repository at this point in the history
Update imageset.rs
  • Loading branch information
yeastplume committed Feb 29, 2020
2 parents 16ce172 + 0bab0e2 commit 28914c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vera/src/imageset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,9 @@ fn find_optimal_range(
// if we're in range, we're done
if max - min <= range as usize {
for i in 0..permutation.len() {
if i == range_vals.len() {
break;
}
range_vals[i].1 = vec![usize::from_str_radix(permutation[i], 10)?];
if max == min {
break;
Expand Down

0 comments on commit 28914c9

Please sign in to comment.