Commits

Kacper Kowalik  committed 6bdd0c4

[test_fields] omega_matter needs to be defined for DensityPerturbation

  • Participants
  • Parent commits b7a4dbc

Comments (0)

Files changed (1)

File yt/data_objects/tests/test_fields.py

     pf.conversion_factors.update( dict((f, 1.0) for f in fields) )
     pf.current_redshift = 0.0001
     pf.hubble_constant = 0.7
+    pf.omega_matter = 0.27
     for unit in mpc_conversion:
         pf.units[unit+'h'] = pf.units[unit]
         pf.units[unit+'cm'] = pf.units[unit]