3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 13:53:40 +01:00
dft_tools/triqs
Olivier Parcollet c996c3ff7d mc_tools : improve treatment of infinite mc ratios
- 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).
2014-03-27 20:33:35 +01:00
..
arrays Attempt to fix gelss call in fit_tail. 2014-03-19 14:01:26 +01:00
clef Correction: left some C++14 used in debug... 2014-02-26 17:49:44 +01:00
det_manip bug in a det_manip constructor (from vectors for x and y values) corrected 2013-12-18 11:21:39 +01:00
gfs Attempt to fix gelss call in fit_tail. 2014-03-19 14:01:26 +01:00
h5 arrays: clean h5 code 2013-11-18 23:41:32 +01:00
lattice Fix g(k,om) for tests 2014-02-26 16:24:51 +01:00
mc_tools mc_tools : improve treatment of infinite mc ratios 2014-03-27 20:33:35 +01:00
parameters arrays: h5 read/write for arrays of complex types 2014-02-13 21:46:23 +01:00
python_tools changing non_view_type to regular_type 2013-08-27 13:43:57 +02:00
statistics Add statistic tools 2014-02-12 09:41:07 +01:00
utility add c14 less, greater 2014-03-16 00:11:56 +01:00
arrays.hpp arrays : rm linalg/determinant and inverse (links) 2013-08-27 13:43:57 +02:00
clef.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
CMakeLists.txt cmake. group c++11 flags 2013-12-04 22:24:14 +01:00
det_manip.hpp add header helper files 2013-11-18 23:41:32 +01:00
gfs.hpp gf. Clean Fourier 2013-10-23 18:46:55 +02:00
h5.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
mc_tools.hpp add header helper files 2013-11-18 23:41:32 +01:00
parameters.hpp First commit : triqs libs version 1.0 alpha1 2013-07-17 19:24:07 +02:00
statistics.hpp Add statistic tools 2014-02-12 09:41:07 +01:00
version.hpp.in Work on documentation 2013-09-17 14:55:55 +02:00