From 63e014d587f3254f1d63ec5631a432cff652de8b Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Mon, 31 Oct 2011 12:33:26 +0100 Subject: [PATCH] Do not use size_t --- src/one-body-sample.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index fd86fae3..f1aeda9b 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)); -- GitLab