Skip to content

Commit 7723130

Browse files
committed
Merge pull request #73 from fcard/all_deprecation
Fix nonboolean `all` deprecation warning.
2 parents 5b18dea + 6616196 commit 7723130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/symbolic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function simplify(ex::Expr)
9393
if ex.head != :call
9494
return ex
9595
end
96-
if all(map(isnumber, ex.args[2:end])) && length(ex.args) > 1
96+
if all(isnumber, ex.args[2:end]) && length(ex.args) > 1
9797
return eval(ex)
9898
end
9999
new_ex = simplify(SymbolParameter(ex.args[1]), ex.args[2:end])

0 commit comments

Comments
 (0)