[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Feb 18 06:24:43 PST 2016


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/e40e413fac45/
Changeset:   e40e413fac45
Branch:      yt
User:        ngoldbaum
Date:        2016-02-17 19:12:00+00:00
Summary:     Fix copy/paste error introduced by refactoring WeightedMenParticleField
Affected #:  1 file

diff -r 28196e94219e1203f78a3ba94272d49e79deaee4 -r e40e413fac452a17cfc48e62760415a0acbefd4b 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


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