You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns 0 for a region with a zero Ms set, which then in division leads to a nan. This nan propagates to the output .mx3 file. The function should probably return 0 if the array_max value is zero, assuming that the user did not set the Ms to a negative number.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
thanks for creating this great tool.
I think found an issue when there's a
nan
Ms set in the output .mx3 file:This line:
mumax3c/mumax3c/scripts/util.py
Line 93 in b5b9f08
returns 0 for a region with a zero
Ms
set, which then in division leads to anan
. Thisnan
propagates to the output.mx3
file. The function should probably return 0 if thearray_max
value is zero, assuming that the user did not set theMs
to a negative number.Thanks!
The text was updated successfully, but these errors were encountered: