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.
Fixed in 08085707319e; this was my typo. On Thu, Jun 28, 2012 at 6:31 AM, Geoffrey So <gsiisg@gmail.com> wrote:
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.
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (2)
-
Geoffrey So
-
Matthew Turk