Skip to content
Snippets Groups Projects
Commit 7ed1db98 authored by Koos van der Linden's avatar Koos van der Linden
Browse files

bug fix gcc build

parent 8efa9639
No related merge requests found
......@@ -3,7 +3,7 @@
namespace DPF {
const std::vector<InternalNodeDescription> SolverResult::GetSolutionsInOrder() const {
std::vector<InternalNodeDescription> solutions(solutions->solutions.begin(), solutions->solutions.end());
std::vector<InternalNodeDescription> solutions(this->solutions->solutions.begin(), this->solutions->solutions.end());
std::sort(solutions.begin(), solutions.end(), [](const InternalNodeDescription& n1, const InternalNodeDescription& n2) {
return n1.GetPartialSolution().GetMisclassifications() < n2.GetPartialSolution().GetMisclassifications();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment