diff --git a/pymbolic/primitives.py b/pymbolic/primitives.py index 3106fae609d57317fd37bf5c2477e0e50946c1b5..0eb6e0f0d47e4583809bb37658b16586d09ff084 100644 --- a/pymbolic/primitives.py +++ b/pymbolic/primitives.py @@ -934,10 +934,10 @@ class If(Expression): .. attribute:: else_ """ - init_arg_names = ("criterion", "then", "else_") + init_arg_names = ("condition", "then", "else_") - def __init__(self, criterion, then, else_): - self.condition = criterion + def __init__(self, condition, then, else_): + self.condition = condition self.then = then self.else_ = else_