[yt-svn] commit/yt: ngoldbaum: Fix test for add_smoothed_particle_field

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Dec 20 07:46:33 PST 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/9337d37e3dab/
Changeset:   9337d37e3dab
Branch:      yt
User:        ngoldbaum
Date:        2016-12-20 13:33:21+00:00
Summary:     Fix test for add_smoothed_particle_field
Affected #:  1 file

diff -r 1d045b790ab412f6670023e97f420691a657443f -r 9337d37e3dabed61eea5bb7321917a695bedc072 yt/frontends/sph/data_structures.py
--- a/yt/frontends/sph/data_structures.py
+++ b/yt/frontends/sph/data_structures.py
@@ -68,7 +68,7 @@
         """
         if kernel_name is None:
             kernel_name = self.kernel_name
-        super(SPHDataset, self).add_smoothed_particle_field(
+        return super(SPHDataset, self).add_smoothed_particle_field(
             smooth_field=smooth_field, method=method, nneighbors=nneighbors,
             kernel_name=kernel_name
         )

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