mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 11:13:46 +01:00
c996c3ff7d
- when the ratio returned by an attempt of a move is infinite, previous code was just throwing TRIQS_RUNTIME_ERROR. - Now when the ratio is infinite, it is replaced by a large number (>1 is enough for metropolis), and the sign is properly updated using std::signbit. - NB : - a double/float in C++ can be : normal/ zero/ nan/ infinite / subnormal. Here, the code will recover only from infinite case. - std::signbit works for infinite (according to standard). |
||
---|---|---|
cmake | ||
doc | ||
foreignlibs | ||
packaging/os_x | ||
pytriqs | ||
shells | ||
test | ||
triqs | ||
.clang-format | ||
CITATIONS.bib | ||
CMakeLists.txt | ||
COPYING.txt | ||
LICENSE.txt | ||
README.txt |
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