Skip to content

Commit c146721

Browse files
committed
add "iterate" to DummyState
1 parent bf6ff1d commit c146721

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/test_suite.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ using ..AlgorithmsInterface
1010
struct DummyAlgorithm{S <: AlgorithmsInterface.StoppingCriterion} <: AlgorithmsInterface.Algorithm
1111
stopping_criterion::S
1212
end
13+
1314
struct DummyProblem <: AlgorithmsInterface.Problem end
14-
mutable struct DummyState{S <: AlgorithmsInterface.StoppingCriterionState} <: AlgorithmsInterface.State
15+
16+
mutable struct DummyState{V, S <: AlgorithmsInterface.StoppingCriterionState} <: AlgorithmsInterface.State
17+
iterate::V
1518
stopping_criterion_state::S
1619
iteration::Int
1720
end
21+
1822
end

0 commit comments

Comments
 (0)