fixed dropping off by one
This commit is contained in:
parent
8e2f75d624
commit
2ed3a82b79
1 changed files with 2 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ impl Expression {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(dh) = dh {
|
if let Some(dh) = dh {
|
||||||
if rolls.len() - 1 - rank <= dh {
|
if rolls.len() - 1 - rank < dh {
|
||||||
skip = true;
|
skip = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -198,7 +198,7 @@ impl Expression {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if let Some(dl) = dl {
|
if let Some(dl) = dl {
|
||||||
if rank <= dl {
|
if rank < dl {
|
||||||
skip = true;
|
skip = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue