Fixed small function

newfloat
Mark 2023-09-20 11:09:44 -07:00
parent 31c368f7d8
commit 315be575ee
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 1 additions and 1 deletions

View File

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