[yt-svn] commit/yt: MatthewTurk: Fixing a problem with the arbitrary_transform code.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Sep 12 09:00:58 PDT 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/5d426da7bdb0/
Changeset: 5d426da7bdb0
Branch: yt
User: MatthewTurk
Date: 2013-09-12 18:00:35
Summary: Fixing a problem with the arbitrary_transform code.
Affected #: 1 file
diff -r be65cfeee4090261cf92ecdb2cd9f0dd0aca4061 -r 5d426da7bdb0fc4769b4e613de81a9f169d98a2c yt/analysis_modules/coordinate_transformation/transforms.py
--- a/yt/analysis_modules/coordinate_transformation/transforms.py
+++ b/yt/analysis_modules/coordinate_transformation/transforms.py
@@ -65,7 +65,7 @@
new_grid['handled'] = np.zeros(new_grid['x'].shape, dtype='bool')
for field in fields:
new_grid[field] = np.zeros(new_grid['x'].shape, dtype='float64')
- grid_order = np.argsort(data_source.gridLevels)
+ grid_order = np.argsort(data_source.grid_levels[:,0])
ng = len(data_source._grids)
for i,grid in enumerate(data_source._grids[grid_order][::-1]):
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
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