BUG: Fix uniqueOrder() to not drop largest item

Fixes http://www.openfoam.com/mantisbt/view.php?id=330
This commit is contained in:
mattijs
2011-11-03 17:07:34 +00:00
parent 414b78d805
commit 67608749fb

View File

@ -243,6 +243,7 @@ void Foam::uniqueOrder
order[n++] = order[i];
}
}
order[n++] = order[order.size()-1];
order.setSize(n);
}
}