[yt-users] found the problem with non-square frb

Matthew Turk matthewturk at gmail.com
Tue Mar 8 12:41:42 PST 2016


Hi Jon,

That would be an awesome pull request, but I understand your
reluctance.  I'm happy to issue it for you and credit you in the PR.
:)

-Matt

On Tue, Mar 8, 2016 at 2:39 PM, Slavin, Jonathan
<jslavin at cfa.harvard.edu> wrote:
> Hi all,
>
> I just located the problem referred to in my earlier message.  There's a
> very small bug in data_objects/data_containers.py
> On lines 957 - 959 there is:
>         elif iterable(height):
>             h, u = height
>             height = self.ds.quan(w, input_units = u)
> Note the w in self.ds_quan(w, input_units = u).  Just replace that w with an
> h and it works.  Should I file a pull request?  Seems a bit much for such a
> minor bug, but I'm willing to do it.
>
> Jon
>
> --
> ________________________________________________________
> Jonathan D. Slavin                 Harvard-Smithsonian CfA
> jslavin at cfa.harvard.edu       60 Garden Street, MS 83
> phone: (617) 496-7981       Cambridge, MA 02138-1516
> cell: (781) 363-0035             USA
> ________________________________________________________
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list