[yt-svn] [yt_analysis/yt] derived quantity with only one intermediate return value fails (issue #388)

mqk issues-reply at bitbucket.org
Tue Jun 19 14:48:21 PDT 2012


--- you can reply above this line ---

New issue 388: derived quantity with only one intermediate return value fails
https://bitbucket.org/yt_analysis/yt/issue/388/derived-quantity-with-only-one

mqk:

When I create a derived quantity with only one return value in the intermediate (pre-combiner) function, I get 'IndexError: invalid index to scalar variable'. See this example: http://pastebin.com/KNE6hbQr which produces this error: http://pastebin.com/QFLxYWhj

A work-around is to return an additional dummy value, so 'return coldgas_mass, 1' in the above example.


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list