3
0
mirror of https://github.com/triqs/dft_tools synced 2025-04-16 13:39:25 +02:00
Olivier Parcollet 7aedaef945 arrays : fix matrix = scalar for complex types
Pb :
M() = rhs; // rhs of type RHS
Currenlty does :
M(i,j) = (i==j ? rhs : RHS{})
Changed to
M(i,j) = (i==j ? rhs : RHS{0*rhs})

If RHS is a double, int ... Same result.
If RHS is a matrix, gf, currently the offdiag elements
are default constructed (i.e. of 0 size !).
Which can break operations later (matrix<matrix<double>>)
After change : all elements have the same size !
2014-02-12 21:50:58 +01:00
2014-01-20 17:49:47 +01:00
2013-12-21 13:25:37 +01:00
2014-02-12 09:41:07 +01:00
2014-01-30 20:28:30 +01:00
2013-12-17 21:38:11 +01:00

 
The TRIQS website is under http://ipht.cea.fr/triqs. Start there
to learn about TRIQS.

To install TRIQS, follow the installation steps given under
http://ipht.cea.fr/triqs/doc/user_manual/install/install.html

Before you proceed, make sure you have read the LICENSE.txt file.

Enjoy!

The TRIQS team

Description
No description provided
Readme 87 MiB
Languages
Python 54.8%
Fortran 37.4%
Shell 5.7%
C++ 2.1%