lib/dydx/algebra.rb in dydx-0.0.5 vs lib/dydx/algebra.rb in dydx-0.0.6

- old
+ new

@@ -46,9 +46,11 @@ def inverse(x, operator) if operator == :+ && x.is_0? e0 elsif operator == :* && x.is_1? e1 + elsif x.is_a?(Inverse) && x.operator == operator + x.x else Inverse.new(x, operator) end end end