Skip to content

Commit

Permalink
Workaround type instability in find_more_nullspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jun 24, 2018
1 parent 84e495a commit 7466a1a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/continuations/branching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ function find_more_nullspaces(Q, L, rtol, atol, max_steps)
end
y, cotJ = _find_more_nullspaces(L2, R2, y, rtol, atol, max_steps)
tJ2 = (@view Q[:, 1:end-1]) * y

if y isa SVector # TODO: don't
return SVector(tJ2...), cotJ
end

return tJ2, cotJ
end

Expand Down

0 comments on commit 7466a1a

Please sign in to comment.