Skip to content
Snippets Groups Projects
Commit b9ea3df8 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

avoid compiler warnings

[[Imported from SVN: r5294]]
parent 65d58604
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ restrict(const std::vector<BoxConstraint<typename DiscFuncType::field_type,block
typedef typename RowType::ConstIterator ColumnIterator;
// Loop over all coarse grid dofs
for (int i=0; i<transferMat.N(); i++) {
for (size_t i=0; i<transferMat.N(); i++) {
const RowType& row = transferMat[i];
......
......@@ -21,7 +21,6 @@ void TruncatedCompressedMGTransfer<DiscFuncType, BitVectorType, OperatorType>::p
typedef typename RowType::ConstIterator ColumnIterator;
Iterator tIt = t.begin();
ConstIterator fIt = f.begin();
for(int rowIdx=0; rowIdx<this->matrix_->N(); rowIdx++) {
......@@ -120,7 +119,7 @@ galerkinRestrict(const OperatorType& fineMat, OperatorType& coarseMat,
if (this->recompute_ == NULL)
coarseMat = 0;
else {
for (int i=0; i<coarseMat.N(); i++) {
for (size_t i=0; i<coarseMat.N(); i++) {
RowType& row = coarseMat[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment