mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: indexedOctree: construct with no points inside bb
This commit is contained in:
@ -2487,6 +2487,12 @@ Foam::indexedOctree<Type>::indexedOctree
|
||||
compactI
|
||||
);
|
||||
|
||||
if (compactI == 0)
|
||||
{
|
||||
// Did not put contents anywhere - are outside bb!
|
||||
break;
|
||||
}
|
||||
|
||||
if (compactI == contents_.size())
|
||||
{
|
||||
// Transferred all contents to contents_ (in order breadth first)
|
||||
|
||||
Reference in New Issue
Block a user