diff --git a/src/interface.jl b/src/interface.jl index fe7bda26..9dde3a6b 100644 --- a/src/interface.jl +++ b/src/interface.jl @@ -244,6 +244,8 @@ function is_monotonically_increasing(cf::ComposedFunction) return is_monotonically_increasing(cf.inner) && is_monotonically_increasing(cf.outer) end is_monotonically_increasing(::typeof(exp)) = true +is_monotonically_increasing(::typeof(log)) = true +is_monotonically_increasing(binv::Inverse) = is_monotonically_increasing(inverse(b)) is_monotonically_increasing(ef::Elementwise) = is_monotonically_increasing(ef.x) ######################