[yt-svn] commit/yt: ngoldbaum: Generate the index for the total_mass derived quantity. Closes #825

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Apr 2 07:27:02 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/47732ca13d1b/
Changeset:   47732ca13d1b
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-04-02 02:12:01
Summary:     Generate the index for the total_mass derived quantity.  Closes #825
Affected #:  1 file

diff -r 6b95f2a269c34bcbdff3ca212b67ddce1401d9e9 -r 47732ca13d1b4ca5d650f7c31e43a84370f4e52a yt/data_objects/derived_quantities.py
--- a/yt/data_objects/derived_quantities.py
+++ b/yt/data_objects/derived_quantities.py
@@ -185,6 +185,7 @@
     
     """
     def __call__(self):
+        self.data_source.pf.index
         fi = self.data_source.pf.field_info
         fields = []
         if ("gas", "cell_mass") in fi:

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