From 0f9bf48730769ac57a0aebc026ba1f2fca853dfa Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Wed, 9 Nov 2011 13:52:59 +0100 Subject: [PATCH] b is initialised by the functionalassembler --- src/one-body-sample.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 60561cc3..7460c74d 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -190,8 +190,8 @@ int main() { VectorType u2 = u1; CellVectorType vonMisesStress; - VectorType b1(grid.size(grid.maxLevel(), dim)); - VectorType b2(grid.size(grid.maxLevel(), dim)); + VectorType b1; + VectorType b2; std::vector<Dune::FieldVector<double, 1>> nodalIntegrals; assemble_frictional<GridType, GridType::LeafGridView, SmallVector, P1Basis>( -- GitLab