Skip to content

Commit

Permalink
Update src/code.jl
Browse files Browse the repository at this point in the history
Co-authored-by: David Widmann <[email protected]>
  • Loading branch information
ChrisRackauckas and devmotion authored Jan 8, 2025
1 parent a6e916e commit 48c7e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function function_to_expr(op::typeof(^), O, st)
return toexpr(Term(inv, Any[ex]), st)
else
args = Any[Term(inv, Any[ex]), -args[2]]
op = get(st.rewrites, :nanmath, false) ? op : pow
op = get(st.rewrites, :nanmath, false) === true ? pow : op
return toexpr(Term(op, args), st)
end
end
Expand Down

0 comments on commit 48c7e0b

Please sign in to comment.