Skip to content

Commit

Permalink
TestSolver use () for residuals
Browse files Browse the repository at this point in the history
  • Loading branch information
gmilleramilar committed Mar 31, 2023
1 parent 255cbe6 commit 5afc596
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions argmin/src/core/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,14 @@ impl TestSolver {
}
}

impl<O> Solver<O, IterState<Vec<f64>, (), (), (), f64, Vec<f64>>> for TestSolver {
impl<O> Solver<O, IterState<Vec<f64>, (), (), (), f64, ()>> for TestSolver {
const NAME: &'static str = "TestSolver";

fn next_iter(
&mut self,
_problem: &mut Problem<O>,
state: IterState<Vec<f64>, (), (), (), f64, Vec<f64>>,
) -> Result<(IterState<Vec<f64>, (), (), (), f64, Vec<f64>>, Option<KV>), Error> {
state: IterState<Vec<f64>, (), (), (), f64, ()>,
) -> Result<(IterState<Vec<f64>, (), (), (), f64, ()>, Option<KV>), Error> {
Ok((state, None))
}
}

0 comments on commit 5afc596

Please sign in to comment.