Fix constraints assembly bug
We previously used bool() on the constraints expression to find out whether we need to use the DIrichletConstraintsAssembler. However, UFL does the stupid thing of evaulating bool(eq(x[0], 0)) to False, because x[0] and 0 are obvioulsy not the same. Veeeery bad behaviour for a symbolic language.
Loading
Please register or sign in to comment