Skip to content

Commit

Permalink
debug leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
joehuchette committed Aug 16, 2015
1 parent be46201 commit fc7eae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v0.4/parseExpr_staged.jl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ end
allscalar = all(t -> (t <: Number), args[setdiff(1:n, varidx)])
if allscalar && length(varidx) == 1
idx = varidx[1]
@show :(addToExpression(ex, (*)(args[setdiff(1:$n,$idx)]...), args[$idx]))
:(addToExpression(ex, (*)(args[setdiff(1:$n,$idx)]...), args[$idx]))
elseif n == 2 # special-case to avoid calls to unary multiplication
:(addToExpression(ex, args[1], args[2]))
else
Expand Down

0 comments on commit fc7eae7

Please sign in to comment.