Skip to content
Snippets Groups Projects
Commit 3707e20b authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

add missing specialization of method axpy for FieldVectors

[[Imported from SVN: r3649]]
parent a656b05f
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,11 @@ class StaticMatrix
x.diagonal()[i] += a * y[i][i];
}
template <typename FieldType, int n, typename Scalar>
static void axpy(Dune::FieldVector<FieldType,n>& x, const Scalar a, const Dune::FieldVector<FieldType,n>& y)
{
x.axpy(a, y);
}
// add transformed matrix X = A^T*Y*B ******************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment