Commits

Matthew Turk  committed ec777c1

Fixing tests for overdensity flagging

  • Participants
  • Parent commits bc33e01
  • Branches yt

Comments (0)

Files changed (1)

File yt/utilities/tests/test_flagging_methods.py

 def test_over_density():
     od_flag = flagging_method_registry["overdensity"](0.75) 
     criterion = (pf.h.grids[0]["Density"] > 0.75)
-    assert( np.all( od_flag(pf, pf.h.grids[0]) == criterion) )
+    assert( np.all( od_flag(pf.h.grids[0]) == criterion) )