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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user