Skip to content

Commit bc926ee

Browse files
Update straggler maketerm
1 parent aeed7aa commit bc926ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/code.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,9 +763,9 @@ function cse_block!(assignments, counter, names, name, state, x)
763763
if isterm(x)
764764
return term(operation(x), args...)
765765
else
766-
return similarterm(x, operation(x),
766+
return maketerm(typeof(x), operation(x),
767767
args, symtype(x),
768-
metadata=metadata(x))
768+
metadata(x))
769769
end
770770
else
771771
return x

0 commit comments

Comments
 (0)