Boost logo

Boost :

From: Jos Hickson (jos.hickson_at_[hidden])
Date: 2006-06-21 13:52:16


Hello,

I think I've found a compilation error in one of the
adaptive_combine::seed() methods -

void seed(typename MLCG1::result_type seed1,
           typename MLCG2::result_type seed2)
{
 _mlcg1(seed1);
 _mlcg2(seed2);
}

should really be something like

void seed(typename MLCG1::result_type seed1,
           typename MLCG2::result_type seed2)
{
 _mlcg1.seed(seed1);
 _mlcg2.seed(seed2);
}

shouldn't it? Making this change fixes the problem.

I've checked CVS for a fix but it's the same there: apologies if the
issue is otherwise known about.

Regards,

Jos Hickson


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk