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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 14 06:27:28 PDT 2013


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/c8e7045e0f14/
Changeset:   c8e7045e0f14
Branch:      yt
User:        samskillman
Date:        2013-08-14 00:59:04
Summary:     Changing sample_function to sampler_function to avoid strange behavoir seen
in issue #501.  While that issue was later deemed invalid because it can be
avoided by keeping yt-2.x and yt-3.0 repos in different directories, this will
save headaches.
Affected #:  1 file

diff -r 6c210dc42c5b750d31235ddefbc6bb78c1183009 -r c8e7045e0f1452e6926819eb5de02960ee8034ab yt/utilities/lib/grid_traversal.pyx
--- a/yt/utilities/lib/grid_traversal.pyx
+++ b/yt/utilities/lib/grid_traversal.pyx
@@ -67,7 +67,7 @@
     np.float64_t idds[3]
     int dims[3]
 
-ctypedef void sample_function(
+ctypedef void sampler_function(
                 VolumeContainer *vc,
                 np.float64_t v_pos[3],
                 np.float64_t v_dir[3],
@@ -235,7 +235,7 @@
 
 cdef class ImageSampler:
     cdef ImageContainer *image
-    cdef sample_function *sampler
+    cdef sampler_function *sampler
     cdef public object avp_pos, avp_dir, acenter, aimage, ax_vec, ay_vec
     cdef void *supp_data
     cdef np.float64_t width[3]
@@ -929,7 +929,7 @@
 cdef int walk_volume(VolumeContainer *vc,
                      np.float64_t v_pos[3],
                      np.float64_t v_dir[3],
-                     sample_function *sampler,
+                     sampler_function *sampler,
                      void *data,
                      np.float64_t *return_t = NULL,
                      np.float64_t enter_t = -1.0) nogil:


https://bitbucket.org/yt_analysis/yt/commits/b4963f863671/
Changeset:   b4963f863671
Branch:      yt
User:        MatthewTurk
Date:        2013-08-14 15:27:21
Summary:     Merged in samskillman/yt (pull request #569)

Changing sample_function to sampler_function to avoid strange behavoir
Affected #:  1 file

diff -r d4505b36d9ce03074b8a4a7df32b639268936a86 -r b4963f863671c0b7f5aeb63eff3b857491b28e78 yt/utilities/lib/grid_traversal.pyx
--- a/yt/utilities/lib/grid_traversal.pyx
+++ b/yt/utilities/lib/grid_traversal.pyx
@@ -67,7 +67,7 @@
     np.float64_t idds[3]
     int dims[3]
 
-ctypedef void sample_function(
+ctypedef void sampler_function(
                 VolumeContainer *vc,
                 np.float64_t v_pos[3],
                 np.float64_t v_dir[3],
@@ -235,7 +235,7 @@
 
 cdef class ImageSampler:
     cdef ImageContainer *image
-    cdef sample_function *sampler
+    cdef sampler_function *sampler
     cdef public object avp_pos, avp_dir, acenter, aimage, ax_vec, ay_vec
     cdef void *supp_data
     cdef np.float64_t width[3]
@@ -929,7 +929,7 @@
 cdef int walk_volume(VolumeContainer *vc,
                      np.float64_t v_pos[3],
                      np.float64_t v_dir[3],
-                     sample_function *sampler,
+                     sampler_function *sampler,
                      void *data,
                      np.float64_t *return_t = NULL,
                      np.float64_t enter_t = -1.0) nogil:

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