diff --git a/src/timestepping/backward_euler.cc b/src/timestepping/backward_euler.cc index 442897bd4064c53726dc5b8491dcc4da7f9732dd..5a74cf8a3590d53f1257565bf8d89a809f6ce53f 100644 --- a/src/timestepping/backward_euler.cc +++ b/src/timestepping/backward_euler.cc @@ -143,8 +143,8 @@ void BackwardEuler<Vector, Matrix, Function, dim>::extractRelativeVelocity( velocity = vr; } -template <class Vector, class MatrixType, class FunctionType, size_t dim> -void BackwardEuler<Vector, MatrixType, FunctionType, dim>::extractOldVelocity( +template <class Vector, class Matrix, class Function, size_t dim> +void BackwardEuler<Vector, Matrix, Function, dim>::extractOldVelocity( Vector &velocity) const { velocity = v_o; } diff --git a/src/timestepping/newmark.cc b/src/timestepping/newmark.cc index 5ec3c8a09f8af774ca6e3013f2dfe1197d0185b7..b40b3a5160004210f0ba5b027d9f4e204d7c8681 100644 --- a/src/timestepping/newmark.cc +++ b/src/timestepping/newmark.cc @@ -162,8 +162,8 @@ void Newmark<Vector, Matrix, Function, dim>::extractRelativeVelocity( velocity = vr; } -template <class Vector, class MatrixType, class FunctionType, size_t dim> -void Newmark<Vector, MatrixType, FunctionType, dim>::extractOldVelocity( +template <class Vector, class Matrix, class Function, size_t dim> +void Newmark<Vector, Matrix, Function, dim>::extractOldVelocity( Vector &velocity) const { velocity = v_o; }