Browse Source

Fixed typo in node __lt__ comparison.

Sander Mathijs van Veen 14 years ago
parent
commit
ff159b48b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/node.py

+ 1 - 1
src/node.py

@@ -89,7 +89,7 @@ class ExpressionBase(object):
         s_coeff, s_root, s_exp = self.extract_polynome_properties()
         s_coeff, s_root, s_exp = self.extract_polynome_properties()
         o_coeff, o_root, o_exp = other.extract_polynome_properties()
         o_coeff, o_root, o_exp = other.extract_polynome_properties()
 
 
-        return s_root < o_root or s_exp < or_exp or s_coeff < or_coeff
+        return s_root < o_root or s_exp < o_exp or s_coeff < o_coeff
 
 
 
 
     def is_leaf(self):
     def is_leaf(self):