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
def test_quantity_model():
c = modeling.models.Chebyshev1D(3)
uc = QuantityModel(c, u.AA, u.km)
> assert uc(10*u.nm).to(u.m) == 0*u.m
specutils/tests/test_utils.py:26:
...
E ValueError: Unable to avoid copy while creating an array as requested.
E If using `np.array(obj, copy=False)` replace it with `np.asarray(obj)` to allow a copy when needed (no behavior change in NumPy 1.x).
E For more details, see https://numpy.org/devdocs/numpy_2_0_migration_guide.html#adapting-to-changes-in-the-copy-keyword.
Please see:
Example logs:
specutils==1.13.0
)specutils @ git+https://github.com/astropy/specutils.git@dac04cafe03079e487c9b5351a3713f1da09f6a7
)cc @astrofrog @neutrinoceros
The text was updated successfully, but these errors were encountered: