lib/dydx/algebra/operator/parts/symbol.rb in dydx-0.1.4 vs lib/dydx/algebra/operator/parts/symbol.rb in dydx-0.1.25
- old
+ new
@@ -2,13 +2,13 @@
module Algebra
module Operator
module Parts
module Symbol
def *(x)
- if x.formula?(:**) &&
+ if x.exponentiation? &&
self == x.f
- self ** (1 + x.g)
+ self ^ (1 + x.g)
else
super(x)
end
end
end