We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
evaluate_varmap!
1 parent ff98434 commit 95aa880Copy full SHA for 95aa880
src/systems/problem_utils.jl
@@ -450,8 +450,11 @@ in `varmap`, it is ignored.
450
"""
451
function evaluate_varmap!(varmap::AbstractDict, vars; limit = 100)
452
for k in vars
453
+ v = get(varmap, k, nothing)
454
+ v === nothing && continue
455
+ symbolic_type(v) == NotSymbolic() && !is_array_of_symbolics(v) && continue
456
haskey(varmap, k) || continue
- varmap[k] = fixpoint_sub(varmap[k], varmap; maxiters = limit)
457
+ varmap[k] = fixpoint_sub(v, varmap; maxiters = limit)
458
end
459
460
0 commit comments