fix low res column

This commit is contained in:
dfsek
2022-06-14 23:56:02 -07:00
parent 11cf4c3a95
commit 589e46477e

View File

@@ -44,7 +44,7 @@ public interface Column<T> {
while(true) {
y += resolution;
if(y >= max) {
if(y > max) {
break;
}
T current = get(y);
@@ -55,7 +55,7 @@ public interface Column<T> {
runningObj = current;
}
}
consumer.accept(runningMin, ++y, runningObj);
consumer.accept(runningMin, getMaxY(), runningObj);
}
default List<? extends T> asList() {