Compare commits

..

1 Commits

Author SHA1 Message Date
f145e9bc35 Minor optimization + comments 2020-12-01 22:18:55 +01:00

View File

@ -104,7 +104,6 @@ public:
std::make_heap(heap.begin(), heap.end(), sort_cells); std::make_heap(heap.begin(), heap.end(), sort_cells);
} }
// TODO: Turn this into a member of Cell as opterator<
static bool sort_cells(const Cell& a, const Cell& b) { static bool sort_cells(const Cell& a, const Cell& b) {
return a.possible_values.size() < b.possible_values.size(); return a.possible_values.size() < b.possible_values.size();
} }