
10 Sep
2006
10 Sep
'06
3:38 p.m.
Daniel James
The problem is that 'variate_generator' stores a copy of the engine, not a reference.
Wow. You'd think that between the docs, the header files, and the example code, I would have caught that. It does make a lot more sense to have the generator and distribution encapsulated inside a variate_generator instead of maintaining them seperately. Thanks for pointing that out. -- Jim