[yt-svn] commit/yt-3.0: MatthewTurk: Fixing LeftEdge and RightEdge for octree subsets.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Nov 15 11:35:47 PST 2013
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/commits/a65e2f8c6457/
Changeset: a65e2f8c6457
Branch: yt-3.0
User: MatthewTurk
Date: 2013-11-15 20:29:01
Summary: Fixing LeftEdge and RightEdge for octree subsets.
Affected #: 1 file
diff -r 28de35a5f9134a31546184b96913c53b1e474887 -r a65e2f8c645755837f9016363ef470ec71e37371 yt/data_objects/octree_subset.py
--- a/yt/data_objects/octree_subset.py
+++ b/yt/data_objects/octree_subset.py
@@ -272,13 +272,13 @@
@property
def LeftEdge(self):
LE = (self._fcoords[0,0,0,self.ind,:]
- - self._fwidth[0,0,0,self.ind,:])*0.5
+ - self._fwidth[0,0,0,self.ind,:]*0.5)
return LE
@property
def RightEdge(self):
RE = (self._fcoords[-1,-1,-1,self.ind,:]
- + self._fwidth[-1,-1,-1,self.ind,:])*0.5
+ + self._fwidth[-1,-1,-1,self.ind,:]*0.5)
return RE
@property
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