diff --git a/triqs/arrays/blas_lapack/dot.hpp b/triqs/arrays/blas_lapack/dot.hpp index 3011fc33..c27f620e 100644 --- a/triqs/arrays/blas_lapack/dot.hpp +++ b/triqs/arrays/blas_lapack/dot.hpp @@ -67,10 +67,10 @@ namespace triqs { namespace arrays { namespace blas { //return f77::dot(X.size(), Cx().data_start(), Cx().stride(), Cy().data_start(), Cy().stride()); } - template std::complex _conj(std::complex const& x); - template <> std::complex _conj(std::complex const& x) { return conj(x); } - template <> std::complex _conj(std::complex const& x) { return x;} - template double _conj(double x) { return x; } + template inline std::complex _conj(std::complex const& x); + template <> inline std::complex _conj(std::complex const& x) { return conj(x); } + template <> inline std::complex _conj(std::complex const& x) { return x;} + template inline double _conj(double x) { return x; } /** * Calls dot product of 2 vectors.