From c38450060b6ab607c1b7f429b9743306681b8391 Mon Sep 17 00:00:00 2001 From: Eric Bechet <eric.bechet@ulg.ac.be> Date: Thu, 19 Nov 2015 07:28:06 +0000 Subject: [PATCH] forward declaration - for older compilers --- Solver/linearSystemCSR.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Solver/linearSystemCSR.cpp b/Solver/linearSystemCSR.cpp index 2670035804..dbf21e038c 100644 --- a/Solver/linearSystemCSR.cpp +++ b/Solver/linearSystemCSR.cpp @@ -15,6 +15,9 @@ #define SWAP(a, b) temp = (a); (a) = (b); (b) = temp; #define SWAPI(a, b) tempi = (a); (a) = (b); (b) = tempi; + + + static void *CSRMalloc(size_t size) { void *ptr; @@ -471,6 +474,9 @@ extern "C" { #include "taucs.h" } +template class linearSystemCSRTaucs<double>; +template class linearSystemCSRTaucs<std::complex<double> >; + template<> int linearSystemCSRTaucs<double>::systemSolve() { -- GitLab