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