Fix x range
This commit is contained in:
parent
d1b33758ce
commit
7b50e1de2c
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ fn main() -> anyhow::Result<()> {
|
||||||
lines.push(line_count);
|
lines.push(line_count);
|
||||||
}
|
}
|
||||||
|
|
||||||
let xmax = lines.len();
|
let xmax = lines.len() - 1;
|
||||||
let ymax = lines.iter().copied().max().unwrap_or(0);
|
let ymax = lines.iter().copied().max().unwrap_or(0);
|
||||||
let lines = lines
|
let lines = lines
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue