Fix typo in documentation: set_type_axis_names should be set_type_axes_names

This commit is contained in:
Bryce Adelstein Lelbach aka wash
2023-10-05 13:16:16 -04:00
committed by GitHub
parent 8d8b9d42c5
commit 39b2770b62

View File

@@ -188,7 +188,7 @@ void my_benchmark(nvbench::state& state, nvbench::type_list<T>)
}
using my_types = nvbench::type_list<int, float, double>;
NVBENCH_BENCH_TYPES(my_benchmark, NVBENCH_TYPE_AXES(my_types))
.set_type_axis_names({"ValueType"});
.set_type_axes_names({"ValueType"});
```
The `NVBENCH_TYPE_AXES` macro is unfortunately necessary to prevent commas in