[yt-svn] commit/yt: yihaochen: Fix buffer size sequence in line integral convolution

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Mar 15 16:37:58 PDT 2017


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/49a8249197b2/
Changeset:   49a8249197b2
Branch:      yt
User:        yihaochen
Date:        2017-03-15 22:11:15+00:00
Summary:     Fix buffer size sequence in line integral convolution
Affected #:  1 file

diff -r 5d0ca754ce74cc7e3f4dac94257713032073ec5b -r 49a8249197b2ee0a2e57db04b4f426c530349fd1 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -2336,12 +2336,12 @@
                                                  plot.data,
                                                  self.field_x,
                                                  bounds,
-                                                 (nx,ny))
+                                                 (ny,nx))
         pixY = plot.data.ds.coordinates.pixelize(plot.data.axis,
                                                  plot.data,
                                                  self.field_y,
                                                  bounds,
-                                                 (nx,ny))
+                                                 (ny,nx))
 
         vectors = np.concatenate((pixX[...,np.newaxis],
                                   pixY[...,np.newaxis]),axis=2)

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