hyperbolic
hyperbolic copied to clipboard
Transform.apply_to_list for inhomogeneous lists
The current implementation of Transform.apply_to_list assumes its argument to consist entirely of ideal or non-ideal points. Therefore it cannot be applied to the fundamental domain of SL_2(Z), for instance. This change checks the type of each point in the argument individually.
Good catch. I will review and merge as soon as I have some free time.
On a quick glance it looks like you might have mixed some code from the other PR.