[yt-svn] commit/yt: ngoldbaum: Merged in qobilidop/yt (pull request #1772)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Oct 5 11:54:32 PDT 2015
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/f570cf80c182/
Changeset: f570cf80c182
Branch: yt
User: ngoldbaum
Date: 2015-10-05 18:54:20+00:00
Summary: Merged in qobilidop/yt (pull request #1772)
[BUGFIX] Update derived_field_list in add_volume_weighted_smoothed_field (fix #1086)
Affected #: 1 file
diff -r 2e98bc17afff89f7b63aa763b45a82bb8b9fac97 -r f570cf80c1820a672569bac1ac5fda94e2dba855 yt/fields/particle_fields.py
--- a/yt/fields/particle_fields.py
+++ b/yt/fields/particle_fields.py
@@ -806,6 +806,7 @@
registry.add_field(field_name, function = _vol_weight,
validators = [ValidateSpatial(0)],
units = field_units)
+ registry.find_dependencies((field_name,))
return [field_name]
def add_nearest_neighbor_field(ptype, coord_name, registry, nneighbors = 64):
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