Skip to content

Commit

Permalink
Merge pull request #608 from JuliaSymbolics/ChrisRackauckas-patch-1
Browse files Browse the repository at this point in the history
Update straggler maketerm
  • Loading branch information
ChrisRackauckas authored Jun 5, 2024
2 parents aeed7aa + bc926ee commit 43797eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/code.jl
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,9 @@ function cse_block!(assignments, counter, names, name, state, x)
if isterm(x)
return term(operation(x), args...)
else
return similarterm(x, operation(x),
return maketerm(typeof(x), operation(x),
args, symtype(x),
metadata=metadata(x))
metadata(x))
end
else
return x
Expand Down

0 comments on commit 43797eb

Please sign in to comment.