Feature/smaller cleanups
as the title suggests, these are a couple of smaller fixes, which are not directly related and aren't important enough to manage them in separate branches.
as the title suggests, these are a couple of smaller fixes, which are not directly related and aren't important enough to manage them in separate branches.
Is this tested? I would have assumed that this breaks the output of BiCGStab where iter is 0, 0.5, 1, ...
Yes it is tested and does what you expect. The main thing is that we don't impose any particular type anymore. Actually casting to real_type was the wrong thing anyway. For BiCGStab we currently use a double to count the iterations. Now this double is also used for the output.
In this case naming the template parameter Int
is not very descriptive and causes confusion.
I renamed the template paramater to CountType, which is imho less confusing.
Added 1 commit:
mentioned in commit 7fb6aa4d
Status changed to merged
mentioned in commit e85759db