Skip to content

Commit 7b3e17b

Browse files
authored
Update polyform.jl
1 parent be2ee4a commit 7b3e17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/polyform.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function polyize(x, pvar2sym, sym2term, vtype, pow, Fs, recurse)
146146
if haskey(active_inv(pvar2sym), x)
147147
return pvar2sym(x)
148148
end
149-
pvar = MP.similarvariable(vtype, nameof(x))
149+
pvar = MP.similar_variable(vtype, nameof(x))
150150
pvar2sym[pvar] = x
151151
return pvar
152152
end

0 commit comments

Comments
 (0)