added sum algorithm

This commit is contained in:
Hans Dembinski
2018-11-13 15:12:00 +01:00
parent 7e23f3da7b
commit 4b63a63764
7 changed files with 98 additions and 29 deletions

View File

@@ -6,6 +6,7 @@
#include <boost/core/lightweight_test.hpp>
#include <boost/histogram/algorithm/project.hpp>
#include <boost/histogram/algorithm/sum.hpp>
#include <boost/histogram/axis/integer.hpp>
#include <boost/histogram/axis/ostream_operators.hpp>
#include <boost/histogram/literals.hpp>
@@ -14,7 +15,7 @@
using namespace boost::histogram;
using namespace boost::histogram::literals; // to get _c suffix
using boost::histogram::algorithm::project;
using namespace boost::histogram::algorithm;
template <typename Tag>
void run_tests() {