Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix C++20 bug in axis constructor #746

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions core/include/detray/utils/grid/detail/axis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ namespace detray::axis {

/// @brief Multi-bin: contains bin indices from multiple axes
template <std::size_t DIM, typename index_t = dindex>
struct multi_bin : public dmulti_index<index_t, DIM> {
constexpr multi_bin() = default;
};
struct multi_bin : public dmulti_index<index_t, DIM> {};

/// @brief Helper to tie two bin indices to a range.
/// @note Cannot use dindex_range for signed integer bin indices.
Expand Down
Loading