Skip to content

Commit 80d19df

Browse files
fix py39 TypeGuard
1 parent 966b67f commit 80d19df

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/rydstate/angular/angular_matrix_element.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
import math
44
from functools import lru_cache
5-
from typing import TYPE_CHECKING, Callable, Literal, TypeGuard, TypeVar, get_args
5+
from typing import TYPE_CHECKING, Callable, Literal, TypeVar, get_args
66

77
import numpy as np
8+
from typing_extensions import TypeGuard
89

910
from rydstate.angular.utils import calc_wigner_3j, calc_wigner_6j, minus_one_pow
1011

0 commit comments

Comments
 (0)