Skip to content

Commit

Permalink
refactor: rename set_initial_solution to with_initial_solution
Browse files Browse the repository at this point in the history
Co-authored-by: Ophir LOJKINE <[email protected]>
  • Loading branch information
KnorpelSenf and lovasoa authored Dec 13, 2024
1 parent 5b7963c commit edfe50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ pub trait WithInitialSolution {
type Solution: Solution;

/// Sets the initial solution to the problem
fn set_initial_solution(self, solution: &Self::Solution) -> Self;
fn with_initial_solution(self, solution: &Self::Solution) -> Self;
}

/// A problem solution
Expand Down

0 comments on commit edfe50f

Please sign in to comment.