mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-29 07:32:23 +00:00
fix win
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -142,7 +142,7 @@ int main() {
|
||||
}
|
||||
|
||||
{
|
||||
accumulators::weight<accumulators::neumaier<>> w;
|
||||
accumulators::weight<accumulators::neumaier<double>> w;
|
||||
|
||||
w();
|
||||
w(1e100);
|
||||
|
||||
Reference in New Issue
Block a user