We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
File "...\helmi\helmholtz.py", line 233, in assemble_boundaries_dirichlet if value[boundary] != 0: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Should be if np.any(value[boundary])
if np.any(value[boundary])