From 1ffef6ec30687df4447a8bcb73ee6e10a50f59ff Mon Sep 17 00:00:00 2001 From: Bharat Medasani Date: Sun, 29 Jan 2023 12:21:00 -0500 Subject: [PATCH] Minor fixes in imports --- src/simsopt/geo/boozersurface.py | 2 +- src/simsopt/geo/surfaceobjectives.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/simsopt/geo/boozersurface.py b/src/simsopt/geo/boozersurface.py index 39da189d4..e8d564e40 100644 --- a/src/simsopt/geo/boozersurface.py +++ b/src/simsopt/geo/boozersurface.py @@ -2,7 +2,7 @@ from scipy.linalg import lu from scipy.optimize import minimize, least_squares -from ..geo.surfaceobjectives import boozer_surface_residual +from .surfaceobjectives import boozer_surface_residual from .._core.optimizable import Optimizable __all__ = ['BoozerSurface'] diff --git a/src/simsopt/geo/surfaceobjectives.py b/src/simsopt/geo/surfaceobjectives.py index c4ea3fb87..e18ae1a31 100644 --- a/src/simsopt/geo/surfaceobjectives.py +++ b/src/simsopt/geo/surfaceobjectives.py @@ -6,8 +6,8 @@ import simsoptpp as sopp from .._core.optimizable import Optimizable from .._core.derivative import Derivative, derivative_dec -from ..geo.surface import Surface -from ..geo.surfacexyztensorfourier import SurfaceXYZTensorFourier +from .surface import Surface +from .surfacexyztensorfourier import SurfaceXYZTensorFourier from ..objectives.utilities import forward_backward __all__ = ['Area', 'Volume', 'ToroidalFlux', 'PrincipalCurvature',