diff options
Diffstat (limited to 'base/src/main/java/bjc/utils/math')
| -rw-r--r-- | base/src/main/java/bjc/utils/math/DualExpr.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/base/src/main/java/bjc/utils/math/DualExpr.java b/base/src/main/java/bjc/utils/math/DualExpr.java index 9a4ed5e..4d21413 100644 --- a/base/src/main/java/bjc/utils/math/DualExpr.java +++ b/base/src/main/java/bjc/utils/math/DualExpr.java @@ -308,6 +308,14 @@ public class DualExpr { return false; } + if(right == null) { + if(other.right != null) { + return false; + } + } else if(!right.equals(other.right)) { + return false; + } + if(number == null) { if(other.number != null) return false; } else if(!number.equals(other.number)) { @@ -318,14 +326,6 @@ public class DualExpr { return false; } - if(right == null) { - if(other.right != null) { - return false; - } - } else if(!right.equals(other.right)) { - return false; - } - return true; } -}
\ No newline at end of file +} |
