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
I think the check should be np.isscalar(result) instead of isinstance(result, float). Or maybe check for np.floating type. This was failing for me with a numpy singleton array,.
I think the check should be np.isscalar(result) instead of isinstance(result, float). Or maybe check for np.floating type. This was failing for me with a numpy singleton array,.
astromodels/astromodels/tests/test_point_source.py
Line 234 in 17e0870