$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.
HTH, John.