wip, axis_test passes

This commit is contained in:
Hans Dembinski
2018-10-21 22:23:34 +02:00
parent 7822c87f4f
commit c02e7b0f22
22 changed files with 553 additions and 447 deletions

View File

@@ -9,6 +9,7 @@
using namespace boost::histogram;
int main() {
auto a = make_dynamic_histogram(axis::integer<>(0, 2));
std::vector<axis::variant<axis::integer<>>> v(1, axis::integer<>(0, 2));
auto a = make_histogram(v);
a(std::vector<int>(1)); // fails, because tuple is intentionally not unpacked
}