From ed9b0e9a09d79a5c76f8a8cf113e7e3fa1417b16 Mon Sep 17 00:00:00 2001 From: Alex Liberzon Date: Fri, 29 Dec 2023 19:54:16 +0200 Subject: [PATCH] more njt --- openptv_python/orientation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openptv_python/orientation.py b/openptv_python/orientation.py index 75cc78b..b8419f4 100644 --- a/openptv_python/orientation.py +++ b/openptv_python/orientation.py @@ -3,6 +3,7 @@ import numpy as np import scipy +from numba import njit from openptv_python.constants import COORD_UNUSED @@ -20,6 +21,7 @@ from .vec_utils import unit_vector, vec_norm, vec_set +@njit def skew_midpoint( vert1: np.ndarray, direct1: np.ndarray, vert2: np.ndarray, direct2: np.ndarray ) -> Tuple[float, np.ndarray]: