Skip to content

Commit

Permalink
re-enabled const
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Jan 13, 2025
1 parent 5224669 commit 636c01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry/interaction_groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl InteractionGroups {
///
/// See [`InteractionTestMode`] for more info.
#[inline]
pub fn test(self, rhs: Self) -> bool {
pub const fn test(self, rhs: Self) -> bool {
match (self.test_mode, rhs.test_mode) {
(InteractionTestMode::And, _) => self.test_and(rhs),
(InteractionTestMode::Or, InteractionTestMode::And) => self.test_and(rhs),
Expand Down

0 comments on commit 636c01b

Please sign in to comment.