- edited description
Precedence in print statement
Issue #95
new
When printing a ufl form such as
import ufl
x = ufl.Constant(ufl.triangle)
y = ufl.Constant(ufl.triangle)
print(1./(x*y)
)
This gives the output
1.0 / w_0 * w_1
However as the brackets have disappeared which using standard precedence implies this should be interpreted as
(1.0 / w_0) * w_1
Comments (1)
-
reporter - Log in to comment