Subject: Re: [boost] Fwd: [Math/Statistical Distributions] Help on usingdistributions' global accessors
From: John Maddock (john_at_[hidden])
Date: 2009-06-07 13:46:05
>I've decided to "cross-post" the message below to boost devel mailing
>list in the hope someone can answer to my questions.
It stack overflows: your forwarding function calls the generic version of
variance which call standard_deviation which calls variance and so on.
Casting the distribution type to the type of the base class in your variance
function should fix the issue.
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk