Compare commits
1 Commits
8d50ac79d0
...
f145e9bc35
Author | SHA1 | Date | |
---|---|---|---|
f145e9bc35 |
1
main.cpp
1
main.cpp
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user