mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-29 07:32:23 +00:00
fix warning
This commit is contained in:
@@ -85,19 +85,19 @@ category_axis_init(python::tuple args, python::dict kwargs) {
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
unsigned
|
||||
int
|
||||
axis_len(const T& t) {
|
||||
return t.bins() + 1;
|
||||
}
|
||||
|
||||
template <>
|
||||
unsigned
|
||||
int
|
||||
axis_len(const category_axis& t) {
|
||||
return t.bins();
|
||||
}
|
||||
|
||||
template <>
|
||||
unsigned
|
||||
int
|
||||
axis_len(const integer_axis& t) {
|
||||
return t.bins();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user