Fixed mod bug

This commit is contained in:
2023-08-17 16:38:02 -07:00
parent b846a7c144
commit cc81c3979c
4 changed files with 8 additions and 2 deletions

View File

@ -186,7 +186,7 @@ impl Scalar {
pub fn is_nan(&self) -> bool {
match self {
Scalar::Float {v} => {v.val.is_nan()},
Scalar::Rational {..} => {panic!()}
Scalar::Rational {..} => {false}
}
}