Files
histogram/test/histogram_dynamic_at_vector_wrong_dimension_fail.cpp
2018-09-15 14:11:50 +02:00

15 lines
384 B
C++

// Copyright 2018 Hans Dembinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/histogram.hpp>
#include <vector>
using namespace boost::histogram;
int main() {
auto h = make_dynamic_histogram(axis::integer<>(0, 2));
h.at(std::vector<int>({0, 0}));
}