diff --git a/Plugin-PoissonReconstruction/PoissonReconstruction/MultiGridOctreeData.inl b/Plugin-PoissonReconstruction/PoissonReconstruction/MultiGridOctreeData.inl index 27d17042aaaf8f121ba3e9723dfd1ed4a63ac01e..540dde4b6a6fe2f8d678afa313d2b5d3e81347ba 100644 --- a/Plugin-PoissonReconstruction/PoissonReconstruction/MultiGridOctreeData.inl +++ b/Plugin-PoissonReconstruction/PoissonReconstruction/MultiGridOctreeData.inl @@ -1701,6 +1701,7 @@ void Octree< Degree >::SetDivergenceStencil( int depth , Point3D< double > stenc }; double dot = fData.vvDotTable[symIndex[0]] * fData.vvDotTable[symIndex[1]] * fData.vvDotTable[symIndex[2]]; + Point3D forClangSymbolFinder; //clang needs this, otherwise he will fail at the next lines with error message "error: subscript of pointer to incomplete type 'Point3D [5][5]" #if GRADIENT_DOMAIN_SOLUTION stencil[x][y][z][0] = fData.dvDotTable[aSymIndex[0]] * dot; stencil[x][y][z][1] = fData.dvDotTable[aSymIndex[1]] * dot;