Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Ein Anmelden über dieses erzeugt ein neues Konto. Das alte Konto ist über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. Logging in via this will create a new account. The old account can be accessed via the "Standard" tab. The administrators

Commit 0e4b89a6 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed bubble sort problem in MeshDistributor.

parent 5574b023
......@@ -147,7 +147,8 @@ namespace AMDiS {
bool doNext = false;
do {
for (unsigned int i = 0; i < feSpaces.size() - 1; i++)
doNext = false;
for (unsigned int i = 0; i < feSpaces.size() - 1; i++) {
if (feSpaces[i]->getBasisFcts()->getDegree() >
feSpaces[i + 1]->getBasisFcts()->getDegree()) {
const FiniteElemSpace *tmp = feSpaces[i + 1];
......@@ -155,6 +156,7 @@ namespace AMDiS {
feSpaces[i] = tmp;
doNext = true;
} while (doNext);
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