Skip to content
Snippets Groups Projects
Commit bc6ed9b7 authored by laurence's avatar laurence
Browse files

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

parent 97bac477
No related branches found
No related tags found
No related merge requests found
...@@ -282,6 +282,11 @@ void Foam::triad::align(const vector& v) ...@@ -282,6 +282,11 @@ void Foam::triad::align(const vector& v)
Foam::triad Foam::triad::sortxyz() const Foam::triad Foam::triad::sortxyz() const
{ {
if (!this->set())
{
return *this;
}
triad t; triad t;
if if
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment