[yt-dev] broken ellipsoid

Geoffrey So gsiisg at gmail.com
Thu Jun 28 03:31:39 PDT 2012


I was trying to use my ellipsoid in the dev-yt installation to check
things, and apparently some of the changes of defining RX,Y,Z relative to
get_rotation_matrix in math_utils.py didn't get pulled in or was left out
and replaced with calls to get_rotation_matrix, but one of the lines in
halo_objects.py has a typo:

r1 = (e0_vector * rz).sum(axis = 1)

should be replaced with

r1 = (e0_vector * RZ).sum(axis = 1)

where RZ are both capitalized.

Fixing that makes the ellipsoid work, can someone check it in please?
Thanks in advance.

From
G.S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20120628/d3284247/attachment.htm>


More information about the yt-dev mailing list