[Yt-svn] yt: Typo that turned off cosmology for Enzo sims.

hg at spacepope.org hg at spacepope.org
Thu Sep 2 15:30:27 PDT 2010


hg Repository: yt
details:   yt/rev/ab5260a8be3e
changeset: 3370:ab5260a8be3e
user:      Matthew Turk <matthewturk at gmail.com>
date:
Thu Sep 02 15:30:21 2010 -0700
description:
Typo that turned off cosmology for Enzo sims.

diffstat:

 yt/frontends/enzo/data_structures.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d9bdb37f8046 -r ab5260a8be3e yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py	Thu Sep 02 00:07:45 2010 -0700
+++ b/yt/frontends/enzo/data_structures.py	Thu Sep 02 15:30:21 2010 -0700
@@ -742,7 +742,7 @@
         if "CurrentTimeIdentifier" in self.parameters:
             self.unique_identifier = self.parameters["CurrentTimeIdentifier"]
         if self.parameters["ComovingCoordinates"]:
-            self.cosmological_simulation = 0
+            self.cosmological_simulation = 1
             self.current_redshift = self.parameters["CosmologyCurrentRedshift"]
             self.omega_lambda = self.parameters["CosmologyOmegaLambdaNow"]
             self.omega_matter = self.parameters["CosmologyOmegaMatterNow"]



More information about the yt-svn mailing list