mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Fix uniqueOrder() to not drop largest item
Fixes http://www.openfoam.com/mantisbt/view.php?id=330
This commit is contained in:
@ -243,6 +243,7 @@ void Foam::uniqueOrder
|
||||
order[n++] = order[i];
|
||||
}
|
||||
}
|
||||
order[n++] = order[order.size()-1];
|
||||
order.setSize(n);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user