Skip to content

Commit

Permalink
Fix constraint solve!(::T)::T
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jun 19, 2018
1 parent e88112e commit 0080239
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/continuations/interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,5 @@ function solve!(wrapper::AbstractContinuationSolver)
end
end

return solver
return wrapper
end
9 changes: 8 additions & 1 deletion src/plotting.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using RecipesBase

using .Continuations: ContinuationSolution, sweeps_as_vectors
using .Continuations: as, ContinuationSolution, sweeps_as_vectors

@recipe function f(sol::ContinuationSolution; vars = (0, 1))
ix, iy = vars
Expand All @@ -10,3 +10,10 @@ using .Continuations: ContinuationSolution, sweeps_as_vectors
delete!(plotattributes, :vars)
(xs, ys)
end

using .Codim1: Codim1Solution

@recipe function f(sol::Codim1Solution; vars = (0, 1))
super = as(sol, ContinuationSolution)
super
end

0 comments on commit 0080239

Please sign in to comment.