Skip to content
Snippets Groups Projects
Commit 206fc447 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

avoid a few signed/unsigned compiler warnings

[[Imported from SVN: r7174]]
parent 9ee0e5e6
No related branches found
No related tags found
No related merge requests found
......@@ -468,7 +468,7 @@ public:
LocalGeodesicFEStiffnessImp<GridView,TargetSpace,globalIsometricCoordinates>::assembleEmbeddedGradient(element, forwardSolution, forwardGradient,this);
LocalGeodesicFEStiffnessImp<GridView,TargetSpace,globalIsometricCoordinates>::assembleEmbeddedGradient(element, backwardSolution, backwardGradient,this);
for (int k=0; k<localSolution.size(); k++)
for (size_t k=0; k<localSolution.size(); k++)
for (int l=0; l<embeddedBlocksize; l++)
gradient[k][j][l] = (forwardGradient[k][l] - backwardGradient[k][l]) / (2*eps);
......@@ -516,7 +516,7 @@ assembleHessian(const Entity& element,
const std::vector<TargetSpace>& localSolution)
{
// 1 degree of freedom per element vertex
int nDofs = element.template count<gridDim>();
size_t nDofs = element.template count<gridDim>();
// Clear assemble data
A_.setSize(nDofs, nDofs);
......@@ -539,7 +539,7 @@ assembleHessian(const Entity& element,
embeddedGradientOfEmbeddedGradient(element,localSolution, i, embeddedGradient);
for (int j=0; j<localSolution.size(); j++)
for (size_t j=0; j<localSolution.size(); j++)
embeddedHessian[i][j] = embeddedGradient[j];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment