Skip to content

Commit

Permalink
Additional comment about change in omega_matter value
Browse files Browse the repository at this point in the history
  • Loading branch information
mtryan83 committed Jul 28, 2023
1 parent 3bc804b commit 20b5b59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yt/frontends/gadget/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ def _parse_parameter_file(self):
# If these are not set it is definitely not a cosmological dataset.
self.omega_lambda = 0.0
self.omega_matter = 0.0 # Just in case somebody asks for it.
# omega_matter has been changed to 0.0 for consistency with
# non-cosmological frontends
self.cosmological_simulation = 0
# Hubble is set below for Omega Lambda = 0.

Expand Down

0 comments on commit 20b5b59

Please sign in to comment.