Commit 7c32ccaa authored by mattijs's avatar mattijs
Browse files

compiler bug workaround

parent fffde6ed
...@@ -757,6 +757,8 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples ...@@ -757,6 +757,8 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples
) const ) const
{ {
// Build tree out of all samples. // Build tree out of all samples.
//Note: cannot be done one the fly - gcc4.4 compiler bug.
treeBoundBox bb(samples); treeBoundBox bb(samples);
octree<octreeDataPoint> ppTree octree<octreeDataPoint> ppTree
...@@ -859,7 +861,7 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples ...@@ -859,7 +861,7 @@ Foam::Map<Foam::label> Foam::surfaceFeatures::nearestSamples
scalar maxSearch = max(maxDist); scalar maxSearch = max(maxDist);
vector span(maxSearch, maxSearch, maxSearch); vector span(maxSearch, maxSearch, maxSearch);
// octree.shapes holds reference! //Note: cannot be done one the fly - gcc4.4 compiler bug.
treeBoundBox bb(samples); treeBoundBox bb(samples);
octree<octreeDataPoint> ppTree octree<octreeDataPoint> ppTree
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment