Skip to content

Commit

Permalink
Include point type in AbstractSpecialPoint type
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jun 27, 2018
1 parent 58d3d20 commit b841094
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/base/solution.jl
Expand Up @@ -2,11 +2,11 @@ using ..Continuations: as,
ContinuationSweep, ContinuationSolution,
ContinuationCache, ContinuationSolver

abstract type AbstractSpecialPoint{tkind <: TimeKind} end
abstract type AbstractSpecialPoint{tkind <: TimeKind, ptType} end
TimeKind(::Type{<: AbstractSpecialPoint{tkind}}) where tkind = tkind()

struct SpecialPoint{tkind, ptType, uType, JType,
} <: AbstractSpecialPoint{tkind}
} <: AbstractSpecialPoint{tkind, ptType}
timekind::tkind
point_type::ptType
point_index::Int
Expand All @@ -18,7 +18,7 @@ end
# init(point) can initiate codim+1 bifurcation solver.

struct SpecialPointInterval{tkind, ptType, uType, JType,
} <: AbstractSpecialPoint{tkind}
} <: AbstractSpecialPoint{tkind, ptType}
timekind::tkind
point_type::ptType
point_index::Int
Expand Down

0 comments on commit b841094

Please sign in to comment.