Skip to content
Snippets Groups Projects
Commit 67608749 authored by mattijs's avatar mattijs
Browse files

BUG: Fix uniqueOrder() to not drop largest item

Fixes http://www.openfoam.com/mantisbt/view.php?id=330
parent 414b78d8
Branches
Tags
No related merge requests found
......@@ -243,6 +243,7 @@ void Foam::uniqueOrder
order[n++] = order[i];
}
}
order[n++] = order[order.size()-1];
order.setSize(n);
}
}
......
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