mirror of
https://github.com/triqs/dft_tools
synced 2024-12-24 13:23:37 +01:00
Fix #122 : correction : forgot inline
This commit is contained in:
parent
e6234ed3d5
commit
1a85b9eb81
@ -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 <bool Star> std::complex<double> _conj(std::complex<double> const& x);
|
||||
template <> 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 <bool Star> double _conj(double x) { return x; }
|
||||
template <bool Star> inline std::complex<double> _conj(std::complex<double> const& x);
|
||||
template <> inline std::complex<double> _conj<true>(std::complex<double> const& x) { return conj(x); }
|
||||
template <> inline std::complex<double> _conj<false>(std::complex<double> const& x) { return x;}
|
||||
template <bool Star> inline double _conj(double x) { return x; }
|
||||
|
||||
/**
|
||||
* Calls dot product of 2 vectors.
|
||||
|
Loading…
Reference in New Issue
Block a user