]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make slightly faster, and micro-reordering.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 14 Nov 2001 15:20:00 +0000 (15:20 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 14 Nov 2001 15:20:00 +0000 (15:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@5200 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/solver_bicgstab.h

index 6211d1b1e3292c04157c6f77f782bd2e7837c709..0c9b71ae5bc7ca56d0b5ab45fd774fe290bb5e35 100644 (file)
@@ -270,9 +270,8 @@ SolverBicgstab<VECTOR>::start(const MATRIX& A)
   
   Vp->reinit(*Vx);
   Vv->reinit(*Vx);
-  Vrbar->equ(1.,*Vr);
-  SolverControl::State state = control().check(step, res);
-  return state;
+  *Vrbar = *Vr;
+  return state = control().check(step, res);
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.