[yt-svn] commit/yt: MatthewTurk: Merged in ngoldbaum/yt (pull request #1995)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Feb 18 06:24:40 PST 2016
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/978d6a6cea95/
Changeset: 978d6a6cea95
Branch: yt
User: MatthewTurk
Date: 2016-02-18 14:24:35+00:00
Summary: Merged in ngoldbaum/yt (pull request #1995)
[bugfix] Fix copy/paste error introduced by refactoring WeightedMenParticleField
Affected #: 1 file
diff -r 557a8e63df7255cb6d02652a8f53d483a78659ed -r 978d6a6cea9516aa977f32aa91c7635b3cd9e4bb yt/geometry/particle_deposit.pyx
--- a/yt/geometry/particle_deposit.pyx
+++ b/yt/geometry/particle_deposit.pyx
@@ -401,8 +401,8 @@
self.wf[ii[2], ii[1], ii[0], offset] += fields[0] * fields[1]
def finalize(self):
- wf = np.asarray(self.owf)
- w = np.asarray(self.ow)
+ wf = np.asarray(self.wf)
+ w = np.asarray(self.w)
rv = wf / w
rv.shape = self.nvals
return rv
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