mirror of
https://github.com/rm-dr/daisy
synced 2025-06-30 22:23:40 -07:00
Fixed small function
This commit is contained in:
@ -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}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user