Commit c5492be4 authored by Matthias Möller's avatar Matthias Möller

fix clang compile error

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@17155 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7b2c2202
...@@ -1701,6 +1701,7 @@ void Octree< Degree >::SetDivergenceStencil( int depth , Point3D< double > stenc ...@@ -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]]; double dot = fData.vvDotTable[symIndex[0]] * fData.vvDotTable[symIndex[1]] * fData.vvDotTable[symIndex[2]];
Point3D<double> forClangSymbolFinder; //clang needs this, otherwise he will fail at the next lines with error message "error: subscript of pointer to incomplete type 'Point3D<double> [5][5]"
#if GRADIENT_DOMAIN_SOLUTION #if GRADIENT_DOMAIN_SOLUTION
stencil[x][y][z][0] = fData.dvDotTable[aSymIndex[0]] * dot; stencil[x][y][z][0] = fData.dvDotTable[aSymIndex[0]] * dot;
stencil[x][y][z][1] = fData.dvDotTable[aSymIndex[1]] * dot; stencil[x][y][z][1] = fData.dvDotTable[aSymIndex[1]] * dot;
......
Markdown is supported
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