Skip to content

Commit ed9b0e9

Browse files
committed
more njt
1 parent 742c3da commit ed9b0e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

openptv_python/orientation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import numpy as np
55
import scipy
6+
from numba import njit
67

78
from openptv_python.constants import COORD_UNUSED
89

@@ -20,6 +21,7 @@
2021
from .vec_utils import unit_vector, vec_norm, vec_set
2122

2223

24+
@njit
2325
def skew_midpoint(
2426
vert1: np.ndarray, direct1: np.ndarray, vert2: np.ndarray, direct2: np.ndarray
2527
) -> Tuple[float, np.ndarray]:

0 commit comments

Comments
 (0)