Boost logo

Boost-Commit :

From: markus.schoepflin_at_[hidden]
Date: 2008-02-25 03:37:11


Author: schoepflin
Date: 2008-02-25 03:37:10 EST (Mon, 25 Feb 2008)
New Revision: 43410
URL: http://svn.boost.org/trac/boost/changeset/43410

Log:
Added missing template keyword.
Text files modified:
   trunk/boost/accumulators/statistics/pot_tail_mean.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/accumulators/statistics/pot_tail_mean.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/pot_tail_mean.hpp (original)
+++ trunk/boost/accumulators/statistics/pot_tail_mean.hpp 2008-02-25 03:37:10 EST (Mon, 25 Feb 2008)
@@ -83,8 +83,8 @@
             extractor<peaks_over_threshold_tag> const some_peaks_over_threshold = {};
             extractor<pot_quantile_tag> const some_pot_quantile = {};
 
- float_type beta_bar = some_peaks_over_threshold(args).get<1>();
- float_type xi_hat = some_peaks_over_threshold(args).get<2>();
+ float_type beta_bar = some_peaks_over_threshold(args).template get<1>();
+ float_type xi_hat = some_peaks_over_threshold(args).template get<2>();
 
             return some_pot_quantile(args) - this->sign_ * beta_bar/( xi_hat - 1. ) * std::pow(
                 is_same<LeftRight, left>::value ? args[quantile_probability] : 1. - args[quantile_probability]


Boost-Commit 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