mirror of
https://github.com/boostorg/histogram.git
synced 2026-02-13 00:22:19 +00:00
wip, axis_test passes
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user