ENH: triad: Do not sort unless all components are set.

This commit is contained in:
laurence
2013-07-19 15:53:59 +01:00
parent 97bac47725
commit bc6ed9b70a

View File

@ -282,6 +282,11 @@ void Foam::triad::align(const vector& v)
Foam::triad Foam::triad::sortxyz() const
{
if (!this->set())
{
return *this;
}
triad t;
if