Beispiel #1
0
 def __bool__(self):
     return expr_equals(self.ufl_operands[0], self.ufl_operands[1])
 def __nonzero__(self):
     return not expr_equals(self._left, self._right)
 def __nonzero__(self):
     return not expr_equals(self._left, self._right)
Beispiel #4
0
 def __bool__(self):
     return not expr_equals(self.ufl_operands[0], self.ufl_operands[1])