Skip to content

Commit

Permalink
ceil was missing for rationals
Browse files Browse the repository at this point in the history
  • Loading branch information
unageek committed Apr 14, 2021
1 parent 6d9cf27 commit 7008d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ impl Expr {
Unary(Asinh, x) => x.eval1(|x| x.asinh()),
Unary(Atan, x) => x.eval1(|x| x.atan()),
Unary(Atanh, x) => x.eval1(|x| x.atanh()),
Unary(Ceil, x) => x.eval1(|x| x.ceil(None)),
Unary(Ceil, x) => x.eval1r(|x| x.ceil(None), |x| Some(x.ceil())),
Unary(Chi, x) => x.eval1(|x| x.chi()),
Unary(Ci, x) => x.eval1(|x| x.ci()),
Unary(Cos, x) => x.eval1(|x| x.cos()),
Expand Down

0 comments on commit 7008d7e

Please sign in to comment.