Skip to content

Commit 3904a4c

Browse files
authored
Update astropy import (#116)
1 parent f5085e3 commit 3904a4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

velociraptor/observations/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from matplotlib import rcParams
1414

1515
from astropy.units import Quantity
16-
from astropy.cosmology.core import Cosmology
16+
from astropy.cosmology import Cosmology
1717
from astropy.cosmology import wCDM, FlatLambdaCDM
1818

1919
import h5py

velociraptor/units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import unyt
88
import h5py
99

10-
from astropy.cosmology.core import Cosmology
10+
from astropy.cosmology import Cosmology
1111
from astropy.cosmology import wCDM, FlatLambdaCDM
1212

1313

0 commit comments

Comments
 (0)