]> https://gitweb.dealii.org/ - dealii.git/commitdiff
SparseMIC optimization 603/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 25 Feb 2015 14:03:04 +0000 (09:03 -0500)
committerTimo Heister <timo.heister@gmail.com>
Wed, 25 Feb 2015 14:03:04 +0000 (09:03 -0500)
It seems like we are computing a mat-vec just to overwrite it a couple
of lines later. Remove it.

include/deal.II/lac/sparse_mic.templates.h

index fb478242438e5d55f98a59163fbbdad646a8574a..5a9e095e13bb17df54021679f8dc39980ff30971 100644 (file)
@@ -143,7 +143,6 @@ void
 SparseMIC<number>::vmult (Vector<somenumber>       &dst,
                           const Vector<somenumber> &src) const
 {
-  SparseLUDecomposition<number>::vmult (dst, src);
   Assert (dst.size() == src.size(), ExcDimensionMismatch(dst.size(), src.size()));
   Assert (dst.size() == this->m(), ExcDimensionMismatch(dst.size(), this->m()));
 

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.