From fbaabd984876d1c3719b0b01cf9f9d3976fff3a5 Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 13 Nov 2009 18:26:43 +0000 Subject: [PATCH] compiler bug workaround --- src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C b/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C index ba7c460c..13df4b85 100644 --- a/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C +++ b/src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C @@ -763,6 +763,8 @@ Foam::Map 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 ppTree @@ -865,7 +867,7 @@ Foam::Map 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 ppTree -- 2.11.4.GIT