3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00

Fix #122 : correction : forgot inline

This commit is contained in:
Olivier Parcollet 2014-09-09 10:06:41 +02:00
parent e6234ed3d5
commit 1a85b9eb81

View File

@ -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()); //return f77::dot(X.size(), Cx().data_start(), Cx().stride(), Cy().data_start(), Cy().stride());
} }
template <bool Star> std::complex<double> _conj(std::complex<double> const& x); template <bool Star> inline std::complex<double> _conj(std::complex<double> const& x);
template <> std::complex<double> _conj<true>(std::complex<double> const& x) { return conj(x); } template <> inline std::complex<double> _conj<true>(std::complex<double> const& x) { return conj(x); }
template <> std::complex<double> _conj<false>(std::complex<double> const& x) { return x;} template <> inline std::complex<double> _conj<false>(std::complex<double> const& x) { return x;}
template <bool Star> double _conj(double x) { return x; } template <bool Star> inline double _conj(double x) { return x; }
/** /**
* Calls dot product of 2 vectors. * Calls dot product of 2 vectors.