mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-25 13:30:10 +00:00
use search range for binary column in pattern locator
This commit is contained in:
1 parent
bde7760634
commit
9c024df9e5
2 files changed
+7
-1
No files matched your search
+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