Skip to content

Commit 1b78bdf

Browse files
import Impact from climada.engine.impact
in order to avoid circular imports
1 parent 822c7f1 commit 1b78bdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

climada/engine/cost_benefit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from matplotlib.patches import FancyArrowPatch, Rectangle
3232
from tabulate import tabulate
3333

34-
from climada.engine import Impact, ImpactFreqCurve
34+
from climada.engine.impact import Impact, ImpactFreqCurve
3535
from climada.engine.impact_calc import ImpactCalc
3636

3737
LOGGER = logging.getLogger(__name__)

climada/engine/impact_calc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from scipy import sparse
2929

3030
from climada import CONFIG
31-
from climada.engine import Impact
31+
from climada.engine.impact import Impact
3232

3333
LOGGER = logging.getLogger(__name__)
3434

0 commit comments

Comments
 (0)