mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-16 22:01:07 +00:00
use search range for binary column in pattern locator
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ public class AdjacentPatternLocator implements Locator {
|
||||
|
||||
@Override
|
||||
public BinaryColumn getSuitableCoordinates(Column<?> column) {
|
||||
BinaryColumn locations = new BinaryColumn(column.getMinY(), column.getMaxY());
|
||||
BinaryColumn locations = new BinaryColumn(search);
|
||||
|
||||
for(int y : search) {
|
||||
if(isValid(y, column)) locations.set(y);
|
||||
|
||||
Reference in New Issue
Block a user