mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: indexedOctree: construct with shapes outside bb
This commit is contained in:
@ -2476,7 +2476,7 @@ Foam::indexedOctree<Type>::indexedOctree
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
compactContents
|
label nNodes = compactContents
|
||||||
(
|
(
|
||||||
nodes,
|
nodes,
|
||||||
contents,
|
contents,
|
||||||
@ -2487,7 +2487,7 @@ Foam::indexedOctree<Type>::indexedOctree
|
|||||||
compactI
|
compactI
|
||||||
);
|
);
|
||||||
|
|
||||||
if (compactI == 0)
|
if (compactI == 0 && nNodes == 0)
|
||||||
{
|
{
|
||||||
// Did not put contents anywhere - are outside bb!
|
// Did not put contents anywhere - are outside bb!
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user