Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
7c32ccaa
Commit
7c32ccaa
authored
Nov 13, 2009
by
mattijs
Browse files
compiler bug workaround
parent
fffde6ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/triSurface/surfaceFeatures/surfaceFeatures.C
View file @
7c32ccaa
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment