mesh.Mesh.__eq__()
Created by: tjlaboss
In openmc/mesh.py
, the method Mesh.__eq__()
contains the following statement:
elif self._lower_left != mesh2.lower_left and self._upper_right != mesh2.upper_right:
This results in a ValueError: "The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()". Using .all()
for the comparison of these lists fixes the error.