Skip to content
Snippets Groups Projects
Commit 9e73cfb2 authored by Christian Engwer's avatar Christian Engwer
Browse files

[bcrsmatrix] make the field_type of usmv a tempalte parameter

parent f8400b10
No related branches found
No related tags found
1 merge request!13Feature/smaller cleanups
......@@ -1623,8 +1623,8 @@ namespace Dune {
}
//! y += alpha A x
template<class X, class Y>
void usmv (const field_type& alpha, const X& x, Y& y) const
template<typename F, class X, class Y>
void usmv (F&& alpha, const X& x, Y& y) const
{
#ifdef DUNE_ISTL_WITH_CHECKING
if (ready != built)
......
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