fix low res column

This commit is contained in:
dfsek committed 2022-06-14 23:56:02 -07:00
1 parent 11cf4c3a95
commit 589e46477e
1 file changed
+2 -2
@@ -44,7 +44,7 @@ public interface Column<T> {
while(true) { while(true) {
y += resolution; y += resolution;
if(y >= max) { if(y > max) {
break; break;
} }
T current = get(y); T current = get(y);
@@ -55,7 +55,7 @@ public interface Column<T> {
runningObj = current; runningObj = current;
} }
} }
consumer.accept(runningMin, ++y, runningObj); consumer.accept(runningMin, getMaxY(), runningObj);
} }
default List<? extends T> asList() { default List<? extends T> asList() {