Fix perspective issue du to a division previously returning result to an integer and not to an float number + fix Pair.equals

This commit is contained in:
2021-04-07 15:55:04 +02:00
parent acc7e17482
commit 0402d49622
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ public class Pair<U, K> {
return false;
}
final Pair<?, ?> other = (Pair<?, ?>) obj;
return this.left.equals(other.getLeft()) && this.left.equals(other.getRight());
return this.left.equals(other.getLeft()) && this.right.equals(other.getRight());
}
@Override