[yt-svn] commit/yt-3.0: MatthewTurk: Fixing RAMSES with ires->select_ires.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Mar 28 12:14:20 PDT 2013
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/commits/2b47da9b16a9/
Changeset: 2b47da9b16a9
Branch: yt-3.0
User: MatthewTurk
Date: 2013-03-28 20:14:08
Summary: Fixing RAMSES with ires->select_ires.
Affected #: 1 file
diff -r 1d07aeeb15c1f20febd1691ae3047bbc5acca694 -r 2b47da9b16a987f4a48d03afef600548637304cd yt/frontends/ramses/data_structures.py
--- a/yt/frontends/ramses/data_structures.py
+++ b/yt/frontends/ramses/data_structures.py
@@ -269,7 +269,7 @@
base_dx = (self.domain.pf.domain_width /
self.domain.pf.domain_dimensions)
widths = np.empty((self.cell_count, 3), dtype="float64")
- dds = (2**self.ires(dobj))
+ dds = (2**self.select_ires(dobj))
for i in range(3):
widths[:,i] = base_dx[i] / dds
return widths
Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list