Commit fc85f71e authored by Chuanren Wu's avatar Chuanren Wu

use correct sort

parent 79743c47
......@@ -252,7 +252,7 @@ void sortLengthVector(std::vector<LengthHelper> &lh)
{
std::sort(
lh.begin(), lh.end(),
[](LengthHelper &a, LengthHelper &b) { return a() < b(); }
[](LengthHelper &a, LengthHelper &b) { return a() > b(); }
);
}
......
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