diff --git a/random_expression.py b/random_expression.py index edac8b0..2a81215 100644 --- a/random_expression.py +++ b/random_expression.py @@ -121,7 +121,7 @@ def desc_rdExp(rdExp): if __name__ == '__main__': - form = "{a}*-14 / 2*{b} + -23" + form = "{a}*-14 / (2*{b}) : -23 / 4" cond = ["{a} + {b} in [1, 2, 3, 4, 5]", "{a} not in [0,1]", "{b} not in [0,1]"] rdExp1 = RdExpression(form, cond) desc_rdExp(rdExp1)