Skip to content
Snippets Groups Projects
Commit 9dd5756c authored by Oliver Sander's avatar Oliver Sander
Browse files

I reimplemented the way the correct code for the three methods determinant(), invert(),

and solve() is chosen.  So far, this was done be specializing  auxiliary helper classes.
I replaced this with simple if (n==...).  One would think that a compiler should be able
to optimize this away.

Indeed: measurements using g++-4.1 showed that there is no speed difference when compiled
with -O3.  When compiled without optimization, the new code is actually about 25%
_faster_ than the old one!  Good for them users of block Gauss-Seidel!

[[Imported from SVN: r4729]]
parent 92eb8995
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment