From 1a85b9eb815c8732e5416f65d07a542072923d30 Mon Sep 17 00:00:00 2001 From: Olivier Parcollet Date: Tue, 9 Sep 2014 10:06:41 +0200 Subject: [PATCH] Fix #122 : correction : forgot inline --- triqs/arrays/blas_lapack/dot.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.