mirror of
https://github.com/boostorg/histogram.git
synced 2025-05-09 23:04:07 +00:00
minor change for consistency (#223)
This commit is contained in:
parent
892cc9c4d7
commit
62a13a4103
@ -140,7 +140,7 @@ public:
|
||||
|
||||
/// Return bin for index argument.
|
||||
decltype(auto) bin(index_type idx) const noexcept {
|
||||
return detail::static_if<std::is_floating_point<local_index_type>>(
|
||||
return detail::static_if<std::is_floating_point<value_type>>(
|
||||
[this](auto idx) { return interval_view<integer>(*this, idx); },
|
||||
[this](auto idx) { return this->value(idx); }, idx);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user