Commit 94f5d436 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

made function arguments const

parent a55938b1
......@@ -115,7 +115,7 @@ struct WelfordAggregate { // todo make class
bool parallel = true;
void Update(SampleSolution &fineSolution, SampleSolution &coarseSolution) {
void Update(const SampleSolution &fineSolution, const SampleSolution &coarseSolution) {
double newC = fineSolution.Cost;
double newQ = fineSolution.Q;
double newY = fineSolution.Q - coarseSolution.Q;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment