From 7b69021ffd00ec2db2c1b1b16174c7b964cf95a3 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 11 Sep 2012 11:01:09 +0200 Subject: [PATCH] Cleanup --- src/one-body-sample.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index d8cc01ef..eabe3196 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -192,11 +192,12 @@ int main(int argc, char *argv[]) { leafView, p1Basis, frictionalNodes); // {{{ Initialise vectors + VectorType u(finestSize); + u = 0.0; VectorType u_old(finestSize); u_old = 0.0; // Has to be zero! - VectorType u_old_old; + VectorType u_old_old(finestSize); - VectorType u(finestSize); VectorType ud(finestSize); ud = 0.0; -- GitLab