mirror of
https://github.com/boostorg/histogram.git
synced 2026-02-20 14:52:12 +00:00
WIP, added tests of failing behavior
This commit is contained in:
14
test/histogram_dynamic_fill_one_dimensional_vector_fail.cpp
Normal file
14
test/histogram_dynamic_fill_one_dimensional_vector_fail.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
// 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 a = make_dynamic_histogram(axis::integer<>(0, 2));
|
||||
a(std::vector<int>(1));
|
||||
}
|
||||
Reference in New Issue
Block a user