Skip to content

Commit

Permalink
Constrains Modulo to Integers
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-1801 authored Nov 4, 2024
1 parent e01f081 commit 67c7254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautilus/include/nautilus/val.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ DEFINE_BINARY_OPERATOR(*, mul, is_fundamental_val, convertible_to_fundamental)

DEFINE_BINARY_OPERATOR(/, div, is_fundamental_val, convertible_to_fundamental)

DEFINE_BINARY_OPERATOR(%, mod, is_fundamental_val, convertible_to_fundamental)
DEFINE_BINARY_OPERATOR(%, mod, is_integral_val, is_integral)

DEFINE_BINARY_OPERATOR(==, eq, is_fundamental_val, convertible_to_fundamental)

Expand Down

0 comments on commit 67c7254

Please sign in to comment.