Skip to content

Commit

Permalink
Fix circular imports
Browse files Browse the repository at this point in the history
  • Loading branch information
yaugenst-flex committed Jul 1, 2024
1 parent d84983c commit adcdf69
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions tidy3d/components/autograd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from .derivative_utils import DerivativeInfo, integrate_within_bounds, interpn
from .types import (
AutogradFieldMap,
AutogradTraced,
Expand All @@ -19,7 +18,4 @@
"AutogradTraced",
"AutogradFieldMap",
"get_static",
"integrate_within_bounds",
"DerivativeInfo",
"interpn",
]
2 changes: 1 addition & 1 deletion tidy3d/plugins/autograd/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from autograd.scipy.signal import convolve as convolve_ag
from numpy.typing import NDArray

from tidy3d.components.autograd import interpn
from tidy3d.components.autograd.derivative_utils import interpn

from .types import PaddingType

Expand Down

0 comments on commit adcdf69

Please sign in to comment.