diff --git a/QL/assetswap.py b/QL/assetswap.py index e0cf258..f84df18 100644 --- a/QL/assetswap.py +++ b/QL/assetswap.py @@ -6,8 +6,8 @@ ''' import bgpy.__QuantLib as ql -from bgpy.QL import toDate -from bgpy.QL import SimpleBond +from bgpy.QL.bgdate import toDate +from bgpy.QL.bonds import SimpleBond from bgpy.dpatterns import Struct from bgpy.math import Secant, SolverExceptions from bgpy.QL.termstructure import SpreadedCurve