Skip to content

Commit

Permalink
First try for solution
Browse files Browse the repository at this point in the history
Implementing my suggested sol for Issue JuliaMath#61
  • Loading branch information
Johan Blåbäck committed Apr 21, 2017
1 parent f7b5556 commit 858ceba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbolic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function simplify(ex::Expr)
return eval(current_module(), ex)
end
new_ex = simplify(SymbolParameter(ex.args[1]), ex.args[2:end])
while new_ex != ex
while !(isequal(new_ex, ex))
new_ex, ex = simplify(new_ex), new_ex
end
return new_ex
Expand Down

0 comments on commit 858ceba

Please sign in to comment.