Skip to content

Commit dc2c676

Browse files
Update constants.jl
1 parent 0c0a1df commit dc2c676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/constants.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Substitute all `@constants` in the given expression
3838
"""
3939
function subs_constants(eqs)
4040
consts = collect_constants(eqs)
41-
if !isempty(consts) # The SymbolicUtils._build_function method of this case doesn't support postprocess_fbody
41+
if !isempty(consts)
4242
csubs = Dict(c => getdefault(c) for c in consts)
4343
eqs = substitute(eqs, csubs)
4444
end
4545
return eqs
46-
end
46+
end

0 commit comments

Comments
 (0)