Skip to content

Commit 135ab46

Browse files
fixup! fix: appropriately map array variables to scalarized versions in add_fallbacks!
1 parent 48ad054 commit 135ab46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/problem_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ function add_fallbacks!(
158158
fallbacks, arrvar, nothing) get(fallbacks, ttarrvar, nothing) Some(nothing)
159159
if val !== nothing
160160
val = val[idxs...]
161+
push!(arrvars, arrvar)
161162
end
162-
push!(arrvars, arrvar)
163163
else
164164
val = nothing
165165
end

0 commit comments

Comments
 (0)