Skip to content

Commit e567810

Browse files
committed
fix: tuple to Tuple
1 parent adeb717 commit e567810

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

LoopStructural/utils/maths.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from LoopStructural.utils.typing import NumericInput
22
import numpy as np
33
import numbers
4+
from typing import Tuple
45

56

67
def strikedip2vector(strike: NumericInput, dip: NumericInput) -> np.ndarray:
@@ -177,7 +178,7 @@ def rotate(vector: NumericInput, axis: NumericInput, angle: NumericInput) -> np.
177178
# return vector
178179

179180

180-
def get_vectors(normal: NumericInput) -> tuple[np.ndarray, np.ndarray]:
181+
def get_vectors(normal: NumericInput) -> Tuple[np.ndarray, np.ndarray]:
181182
"""Find strike and dip vectors for a normal vector.
182183
Makes assumption the strike vector is horizontal component and the dip is vertical.
183184
Found by calculating strike and and dip angle and then finding the appropriate vectors

0 commit comments

Comments
 (0)