diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index fd86fae31c01d33480d8a2939d5c89f0e696e246..f1aeda9bd9bca66ae4afa201b9e93b8bb275b976 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -81,7 +81,7 @@ int main() { VectorType f(grid.size(grid.maxLevel(), dim)); // Fill right-hand side with semi-random numbers for (size_t i = 0; i < f.size(); ++i) - for (size_t j = 0; j < dim; ++j) + for (int j = 0; j < dim; ++j) f[i][j] = 300; VectorType u1(grid.size(grid.maxLevel(), dim));