Skip to content

Commit 5e2e25e

Browse files
fix: fix detection of absent index provider in SavedSubsystem constructor
1 parent 23a14e1 commit 5e2e25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solutions/save_idxs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ SavedSubsystem(indp, pobj, ::Nothing) = nothing
111111

112112
function SavedSubsystem(indp, pobj, idx::Int)
113113
_indp = get_root_indp(indp)
114-
if indp === EMPTY_SYMBOLCACHE || indp === nothing
114+
if _indp === EMPTY_SYMBOLCACHE || _indp === nothing
115115
return nothing
116116
end
117117
state_map = Dict(1 => idx)

0 commit comments

Comments
 (0)