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
A typo in gray_indicator() (python/adjoint/filters.py) is causing it to return an array. The doc string indicates that this was intended to return a float. I suspect that return np.mean(4 * x.flatten()) * (1-x.flatten()) * 100
should be return np.mean(4 * x.flatten() * (1-x.flatten())) * 100
The text was updated successfully, but these errors were encountered:
A typo in gray_indicator() (python/adjoint/filters.py) is causing it to return an array. The doc string indicates that this was intended to return a float. I suspect that
return np.mean(4 * x.flatten()) * (1-x.flatten()) * 100
should be
return np.mean(4 * x.flatten() * (1-x.flatten())) * 100
The text was updated successfully, but these errors were encountered: