mirror of https://github.com/rm-dr/daisy
Fixed UserFunction operator
parent
eadd6780ce
commit
4cb45432f9
|
@ -102,6 +102,7 @@ impl Operator {
|
||||||
| Operator::Factorial
|
| Operator::Factorial
|
||||||
| Operator::Sqrt
|
| Operator::Sqrt
|
||||||
| Operator::Function(_)
|
| Operator::Function(_)
|
||||||
|
| Operator::UserFunction(_)
|
||||||
=> false,
|
=> false,
|
||||||
_ => true
|
_ => true
|
||||||
}
|
}
|
||||||
|
@ -113,6 +114,7 @@ impl Operator {
|
||||||
Operator::Negative
|
Operator::Negative
|
||||||
| Operator::Sqrt
|
| Operator::Sqrt
|
||||||
| Operator::Function(_)
|
| Operator::Function(_)
|
||||||
|
| Operator::UserFunction(_)
|
||||||
=> false,
|
=> false,
|
||||||
_ => true
|
_ => true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue