From 373c26caba0a3d4523b8db590f03ba98748f86cb Mon Sep 17 00:00:00 2001 From: maartenkeijzer Date: Thu, 6 Sep 2007 08:15:22 +0000 Subject: [PATCH] Woops, used the wrong sort here --- eo/src/eoReduce.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eo/src/eoReduce.h b/eo/src/eoReduce.h index 4f7c2f34..31ecd776 100644 --- a/eo/src/eoReduce.h +++ b/eo/src/eoReduce.h @@ -54,8 +54,8 @@ template class eoTruncate : public eoReduce 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); } };