Skip to contents

no_if_lift(e) is e; IfLifting() leaves the conditional expressions inside it untouched.

Usage

no_if_lift(s)

Arguments

s

An expression.

Value

A sym expression.

Examples

t <- t_nounits
x <- Variable("x", t)
no_if_lift(IfElse(x > 1, 1, 0))
#> no_if_lift(Piecewise((1, x(t) > 1), (0, True)))