Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/vector/backends/_numba_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,9 @@ def overloader(v1, v2):
coord23 = getcoord1[numba_ltype(v2)]
coord24 = getcoord1[numba_ttype(v2)]

else:
raise AssertionError

if groupname == "planar":
signature = (numba_aztype(v1), numba_aztype(v2))

Expand All @@ -1452,6 +1455,9 @@ def overloader(v1, v2):
numba_ttype(v2),
)

else:
raise AssertionError

function, *returns = _from_signature(
groupname + "." + methodname,
numba_modules[groupname][methodname],
Expand Down Expand Up @@ -1639,6 +1645,9 @@ def overloader_impl(v1, v2, tolerance=1e-5): # pragma: no cover
coord22 = getcoord2[numba_aztype(v2)]
coord23 = getcoord1[numba_ltype(v2)]

else:
raise AssertionError

function, *_ = _from_signature(
groupname + "." + methodname,
numba_modules[groupname][methodname],
Expand Down Expand Up @@ -1788,6 +1797,9 @@ def overloader_impl(v1, v2, rtol=1e-05, atol=1e-08, equal_nan=False):
coord24(v2),
)

else:
raise AssertionError

return overloader_impl


Expand Down Expand Up @@ -1898,6 +1910,9 @@ def overloader_impl(v, obj):
)
return instance_class(azcoords(out1, out2), v.longitudinal, v.temporal)

else:
raise AssertionError

return overloader_impl


Expand Down