Skip to content

Commit

Permalink
fix for upstream changes apache#1857
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Apr 23, 2016
1 parent b38e2cc commit bbe3151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/symbolic-node.jl
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function .-(self :: SymbolicNode, arg :: Real)
end

function -(arg :: Real, self :: SymbolicNode)
_MinusScalar(self, scalar=arg, scalar_on_left=true)
_RMinusScalar(self, scalar=arg)
end
function .-(arg :: Real, self :: SymbolicNode)
-(arg, self)
Expand Down Expand Up @@ -373,7 +373,7 @@ function /(self :: SymbolicNode, arg :: Real)
./(self, arg)
end
function ./(arg :: Real, self :: SymbolicNode)
_DivScalar(self, scalar=arg, scalar_on_left=true)
_RDivScalar(self, scalar=arg)
end

import Base: .^, ^
Expand Down

0 comments on commit bbe3151

Please sign in to comment.