Skip to content

Commit 5cd443b

Browse files
committed
cosmic is now using int's for kstars (thanks younger me)
1 parent 5f180a8 commit 5cd443b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogsworth/tests/test_pop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,11 +532,11 @@ def test_translation(self):
532532
p.perform_stellar_evolution()
533533
p.translate_tables(replace_columns=False, label_type="short")
534534

535-
self.assertTrue(p.bpp["kstar_1"].dtype == np.float64)
535+
self.assertTrue(p.bpp["kstar_1"].dtype == np.int64)
536536
self.assertTrue((p.bpp["kstar_1_str"][p.bpp["kstar_1"] == 1] == "MS").all())
537537

538538
p.translate_tables(replace_columns=True)
539-
self.assertFalse(p.bpp["kstar_1"].dtype == np.float64)
539+
self.assertFalse(p.bpp["kstar_1"].dtype == np.int64)
540540

541541
def test_cartoon(self):
542542
"""Ensure that the cartoon plot works"""

0 commit comments

Comments
 (0)