Skip to content

Commit c581342

Browse files
fix: handle AbstractJumpProblem in get_root_indp
1 parent 7dc3314 commit c581342

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/solutions/save_idxs.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ function get_root_indp(prob::LinearProblem)
5252
get_root_indp(prob.f)
5353
end
5454

55+
get_root_indp(prob::AbstractJumpProblem) = get_root_indp(prob.prob)
56+
5557
get_root_indp(x) = x
5658

5759
function get_root_indp(f::SymbolicLinearInterface)

0 commit comments

Comments
 (0)