Woops, used the wrong sort here
This commit is contained in:
parent
2b303560fa
commit
373c26caba
1 changed files with 2 additions and 2 deletions
|
|
@ -54,8 +54,8 @@ template <class EOT> class eoTruncate : public eoReduce<EOT>
|
|||
return;
|
||||
if (_newgen.size() < _newsize)
|
||||
throw std::logic_error("eoTruncate: Cannot truncate to a larger size!\n");
|
||||
|
||||
sort(_newgen.begin(), _newgen.end());
|
||||
|
||||
_newgen.sort();
|
||||
_newgen.resize(_newsize);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Reference in a new issue