From 0dfbe2e8ca306d795d34bf7d53b483bdd8b25972 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 27 May 2018 20:57:02 +0200 Subject: [PATCH] Fix undefined reference for PETSc complex scalar type --- source/lac/full_matrix.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/lac/full_matrix.cc b/source/lac/full_matrix.cc index fc6e1daad6..7ce584f268 100644 --- a/source/lac/full_matrix.cc +++ b/source/lac/full_matrix.cc @@ -68,6 +68,8 @@ TEMPL_OP_EQ(float, double); TEMPL_OP_EQ(std::complex, std::complex); TEMPL_OP_EQ(std::complex, std::complex); +TEMPL_OP_EQ(std::complex, double); +TEMPL_OP_EQ(std::complex, float); #undef TEMPL_OP_EQ -- 2.39.5