From 6e2babf7c95f420891f2cec150c5aafce99b4db0 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 6 May 2003 23:16:38 +0000 Subject: [PATCH] Instantiate copy operator for different argument types. git-svn-id: https://svn.dealii.org/trunk@7597 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/full_matrix.double.cc | 3 ++- deal.II/lac/source/full_matrix.float.cc | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/source/full_matrix.double.cc b/deal.II/lac/source/full_matrix.double.cc index e0471cb1f1..0923aa128f 100644 --- a/deal.II/lac/source/full_matrix.double.cc +++ b/deal.II/lac/source/full_matrix.double.cc @@ -19,9 +19,10 @@ template class FullMatrix; +template FullMatrix & FullMatrix::operator =(const FullMatrix&); + #define TYPEMAT2 double -//template FullMatrix& FullMatrix::operator =(const FullMatrix&); template void FullMatrix::fill ( const FullMatrix&, const unsigned, const unsigned, const unsigned, const unsigned); template void FullMatrix::add (const TYPEMAT, const FullMatrix&); diff --git a/deal.II/lac/source/full_matrix.float.cc b/deal.II/lac/source/full_matrix.float.cc index 357a786164..fddd4eb756 100644 --- a/deal.II/lac/source/full_matrix.float.cc +++ b/deal.II/lac/source/full_matrix.float.cc @@ -18,6 +18,8 @@ template class FullMatrix; +template FullMatrix & FullMatrix::operator =(const FullMatrix&); + #define TYPEMAT2 float //template FullMatrix& FullMatrix::operator =<>(const FullMatrix&); -- 2.39.5