diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 88e39e12d0d3f53fc1931c28f70618dff48ded18..5d006bf3c92c3638d8a0110dd0bbdb7e4595a324 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -81,7 +81,7 @@ int main() { // Fill initial guess with other semi-random numbers for (size_t i = 0; i < f.size(); ++i) for (size_t j = 0; j < dim; ++j) - u[i][j] = 17 * j; + u[i][j] = 17 * (j + 1); Dune::BitSetVector<VectorType::block_type::dimension> ignoreNodes( grid.size(grid.maxLevel(), dim), false);