18 Sep
2009
18 Sep
'09
9:34 a.m.
On Sep 18, 2009, at 11:30 AM, ruya wrote:
Hi
The problem was the missing copy constructor, which I usually write by default but for some reason had it commented. I still don't understand why it didn't happened with the remaining algorithms but anyway, thank you for the help on the fault.
You also need to implement the assignment operator
Now, for the code refactoring, if the generator is static all SFs will share the same generator and the distributions will not be independent anymore, which is a requisite in this kind of algorithm.
Actually, as long as the generator is good they are uncorrelated. At least this is what is tested for. This is tested much better than correlations between different seeds. Matthias