mirror of https://github.com/rm-dr/daisy
Fixed small function
parent
31c368f7d8
commit
315be575ee
|
@ -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}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue