```Python 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])`
Should be
if np.any(value[boundary])