Skip to content

Commit 75e2142

Browse files
Fix imports
1 parent e04448a commit 75e2142

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/simulate.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# %%
2-
from downpyment.mortgage import Mortgage, Interest, YEARLY_INTEREST_SCALE, Investment
2+
from downpyment.mortgage import Mortgage
3+
from downpyment.interest import Interest, YEARLY_INTEREST_SCALE
4+
from downpyment.investment import Investment
35
from downpyment.reporting import MortgageReport
46

57

src/downpyment/reporting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Mortgage,
33
EarlyPayment,
44
MortgageSimulation,
5-
Investment,
65
)
6+
from downpyment.investment import Investment
77
from matplotlib import pyplot as plt
88
from typing import Optional
99
import numpy as np

0 commit comments

Comments
 (0)