Skip to content

Commit fc55743

Browse files
committed
chore: update boost-histogram
1 parent 26ffe27 commit fc55743

File tree

12 files changed

+37
-17
lines changed

12 files changed

+37
-17
lines changed

extern/config

Submodule config updated 256 files

extern/histogram

Submodule histogram updated 60 files

extern/pybind11

Submodule pybind11 updated 121 files

include/bh_python/accumulators/ostream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>&
7979
template <class CharT, class Traits, class T>
8080
std::basic_ostream<CharT, Traits>&
8181
operator<<(std::basic_ostream<CharT, Traits>& os,
82-
const ::boost::histogram::accumulators::thread_safe<T>& x) {
82+
const ::boost::histogram::accumulators::count<T, true>& x) {
8383
os << x.load();
8484
return os;
8585
}

include/bh_python/histogram.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ namespace pybind11 {
2020
/// The descriptor for atomic_* is the same as the descriptor for *, as long this uses
2121
/// standard layout
2222
template <class T>
23-
struct format_descriptor<bh::accumulators::thread_safe<T>> : format_descriptor<T> {
24-
static_assert(std::is_standard_layout<bh::accumulators::thread_safe<T>>::value, "");
23+
struct format_descriptor<bh::accumulators::count<T, true>> : format_descriptor<T> {
24+
static_assert(std::is_standard_layout<bh::accumulators::count<T, true>>::value, "");
2525
};
2626

2727
} // namespace pybind11

0 commit comments

Comments
 (0)