bkrueger / mocasinns

MOnte-CArlo-SImulations - Neat'N'Simple
Other
4 stars 1 forks source link

Bug in calculation of Parallel Tempering with no accumulator #61

Closed bkrueger closed 10 years ago

bkrueger commented 10 years ago

In the example there is a non deterministic behaviour.

bkrueger commented 10 years ago

The problem is that a construction like std::vector<T*> configurations(8, new T()); does create a vector of the same pointers, which definitly messes up the parallel tempering algorithm.