lib/dydx/algebra/set/num.rb in dydx-0.0.2 vs lib/dydx/algebra/set/num.rb in dydx-0.0.3

- old
+ new

@@ -14,9 +14,13 @@ alias_method :d, :differentiate def to_s @n.to_s end + + def ==(x) + x.is_a?(Num) && n == x.n + end end end end end \ No newline at end of file