Skip to content

Commit 692e4e8

Browse files
fix: add catch-all for get_root_indp
1 parent 3b8f594 commit 692e4e8

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
@@ -52,7 +52,7 @@ function get_root_indp(prob::LinearProblem)
5252
get_root_indp(prob.f)
5353
end
5454

55-
get_root_indp(::Nothing) = nothing
55+
get_root_indp(x) = x
5656

5757
function get_root_indp(f::SymbolicLinearInterface)
5858
get_root_indp(f.sys)

0 commit comments

Comments
 (0)