Skip to content

Commit

Permalink
Require monotonic_increasing to return TRUE or FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchelloharawild committed Sep 17, 2024
1 parent a80c003 commit 347deeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/transformed.R
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,5 @@ monotonic_increasing <- function(f, support) {

# Currently assumes (without checking, #9) monotonicity of f over the domain
x <- f(field(support, "lim")[[1]])
x[[2L]] > x[[1L]]
isTRUE(x[[2L]] > x[[1L]])
}

0 comments on commit 347deeb

Please sign in to comment.