Skip to content

Commit 347deeb

Browse files
Require monotonic_increasing to return TRUE or FALSE
1 parent a80c003 commit 347deeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/transformed.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,5 +170,5 @@ monotonic_increasing <- function(f, support) {
170170

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

0 commit comments

Comments
 (0)