mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
compiler bug workaround
This commit is contained in:
@ -757,6 +757,8 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples
|
||||
) const
|
||||
{
|
||||
// Build tree out of all samples.
|
||||
|
||||
//Note: cannot be done one the fly - gcc4.4 compiler bug.
|
||||
treeBoundBox bb(samples);
|
||||
|
||||
octree<octreeDataPoint> ppTree
|
||||
@ -859,7 +861,7 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples
|
||||
scalar maxSearch = max(maxDist);
|
||||
vector span(maxSearch, maxSearch, maxSearch);
|
||||
|
||||
// octree.shapes holds reference!
|
||||
//Note: cannot be done one the fly - gcc4.4 compiler bug.
|
||||
treeBoundBox bb(samples);
|
||||
|
||||
octree<octreeDataPoint> ppTree
|
||||
|
||||
Reference in New Issue
Block a user