This commit is contained in:
Hans Dembinski
2018-11-14 09:38:46 +01:00
parent 02d85987ab
commit 596708143a
5 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
#ifndef BOOST_HISTOGRAM_ACCUMULATORS_MEAN_HPP
#define BOOST_HISTOGRAM_ACCUMULATORS_MEAN_HPP
#include <boost/histogram/histogram_fwd.hpp>
#include <cstddef>
namespace boost {

View File

@@ -7,6 +7,7 @@
#ifndef BOOST_HISTOGRAM_ACCUMULATORS_NEUMAIER_HPP
#define BOOST_HISTOGRAM_ACCUMULATORS_NEUMAIER_HPP
#include <boost/histogram/histogram_fwd.hpp>
#include <cmath>
namespace boost {

View File

@@ -7,7 +7,7 @@
#ifndef BOOST_HISTOGRAM_ACCUMULATORS_WEIGHT_HPP
#define BOOST_HISTOGRAM_ACCUMULATORS_WEIGHT_HPP
#include <stdexcept>
#include <boost/histogram/histogram_fwd.hpp>
namespace boost {
namespace histogram {

View File

@@ -7,6 +7,8 @@
#ifndef BOOST_HISTOGRAM_ACCUMULATORS_WEIGHTED_MEAN_HPP
#define BOOST_HISTOGRAM_ACCUMULATORS_WEIGHTED_MEAN_HPP
#include <boost/histogram/histogram_fwd.hpp>
namespace boost {
namespace histogram {
namespace accumulators {

View File

@@ -142,7 +142,7 @@ int main() {
}
{
accumulators::weight<accumulators::neumaier<>> w;
accumulators::weight<accumulators::neumaier<double>> w;
w();
w(1e100);