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

use a few unsigned ints to calm the compiler

[[Imported from SVN: r248]]
parent a7eca7a2
No related branches found
No related tags found
No related merge requests found
......@@ -100,10 +100,9 @@ namespace Dune {
matrix.endrowsizes();
for (int i=0; i<rows_; i++) {
for (int j=0; j<indices[i].size(); j++) {
//std::cout << "setting index " << i <<", " << rowSizes[i][j] << std::endl;
for (unsigned int j=0; j<indices[i].size(); j++)
matrix.addindex(i, indices[i][j]);
}
}
matrix.endindices();
......@@ -133,7 +132,7 @@ namespace Dune {
// Insert
nb.push_back(0);
for (int j=nb.size()-1; j>i; j--)
for (unsigned int j=nb.size()-1; j>i; j--)
nb[j] = nb[j-1];
nb[i] = idx;
......
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