[yt-svn] commit/yt: MatthewTurk: We need to return the vertices early if not sampling.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Dec 13 12:14:35 PST 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/7d974fd9a3e8/
Changeset: 7d974fd9a3e8
Branch: yt
User: MatthewTurk
Date: 2013-12-13 21:06:08
Summary: We need to return the vertices early if not sampling.
Affected #: 1 file
diff -r e9efef2f6c714e275dec5d01db6794d5ec2767a1 -r 7d974fd9a3e892f736cb8459725e177d28ff913e 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/
--
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