[yt-svn] commit/yt-3.0: MatthewTurk: Missed a return statement for marching cubes.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Oct 15 19:16:22 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/29e24eb0f722/
Changeset:   29e24eb0f722
Branch:      yt-3.0
User:        MatthewTurk
Date:        2013-10-16 04:16:09
Summary:     Missed a return statement for marching cubes.
Affected #:  1 file

diff -r 5df0d5742ff2e8abcb6dd032f82247af9c6f0409 -r 29e24eb0f722d4e4d907b58ed1398eee652a8bdf yt/utilities/lib/marching_cubes.pyx
--- a/yt/utilities/lib/marching_cubes.pyx
+++ b/yt/utilities/lib/marching_cubes.pyx
@@ -535,6 +535,7 @@
     vertices = np.zeros((triangles.count*3,3), dtype='float64')
     if do_sample == 0:
         FillAndWipeTriangles(vertices, triangles.first)
+        return vertices
     cdef int nskip
     if do_sample == 1:
         nskip = 1

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