Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-01-03 19:10:53


Author: eric_niebler
Date: 2008-01-03 19:10:53 EST (Thu, 03 Jan 2008)
New Revision: 42448
URL: http://svn.boost.org/trac/boost/changeset/42448

Log:
add missing typename keyword
Text files modified:
   trunk/boost/accumulators/statistics/pot_quantile.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/accumulators/statistics/pot_quantile.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/pot_quantile.hpp (original)
+++ trunk/boost/accumulators/statistics/pot_quantile.hpp 2008-01-03 19:10:53 EST (Thu, 03 Jan 2008)
@@ -72,9 +72,9 @@
 
             extractor<peaks_over_threshold_tag> const some_peaks_over_threshold = {};
                 
- float_type u_bar = some_peaks_over_threshold(args).get<0>();
- float_type beta_bar = some_peaks_over_threshold(args).get<1>();
- float_type xi_hat = some_peaks_over_threshold(args).get<2>();
+ float_type u_bar = some_peaks_over_threshold(args).template get<0>();
+ 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 this->sign_*(u_bar + beta_bar/xi_hat * ( 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