Allow non-float tuples as pos arguments to getShear
(#305)