Skip to content

Commit

Permalink
require same tile ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
msbarry committed Jan 12, 2024
1 parent 6cca1b4 commit da8e4af
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,11 @@ private Result getResult(PlanetilerConfig config) {
}

var order = input1.format().preferredOrder();
var order2 = input2.format().preferredOrder();
if (order != order2) {
throw new IllegalArgumentException(
"Archive orders must be the same to compare, got " + order + " and " + order2);
}
var stats = config.arguments().getStats();
var total = new AtomicLong(0);
var diffs = new AtomicLong(0);
Expand Down

0 comments on commit da8e4af

Please sign in to comment.