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

avoid a few signed/unsigned warnings

[[Imported from SVN: r8199]]
parent 76bcf1d9
No related branches found
No related tags found
No related merge requests found
......@@ -78,9 +78,9 @@ getNeighborsPerVertex(Dune::MatrixIndexSet& nb) const
const typename Basis::LocalFiniteElement& lfe = basis_.getLocalFiniteElement(*it);
for (int i=0; i<lfe.localBasis().size(); i++) {
for (size_t i=0; i<lfe.localBasis().size(); i++) {
for (int j=0; j<lfe.localBasis().size(); j++) {
for (size_t j=0; j<lfe.localBasis().size(); j++) {
int iIdx = basis_.index(*it,i);
int jIdx = basis_.index(*it,j);
......@@ -204,7 +204,7 @@ computeEnergy(const std::vector<TargetSpace>& sol) const
std::vector<TargetSpace> localSolution(nDofs);
for (int i=0; i<nDofs; i++)
for (size_t i=0; i<nDofs; i++)
localSolution[i] = sol[basis_.index(*it,i)];
energy += localStiffness_->energy(*it, basis_.getLocalFiniteElement(*it), localSolution);
......
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