Skip to content

Commit

Permalink
Make contracts import path-independent from the caller
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Dec 20, 2018
1 parent 15cf5e1 commit 25a7003
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions agents/metainsuranceorg.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import numpy as np
import scipy.stats
import copy
from contracts.insurancecontract import InsuranceContract
from contracts.reinsurancecontract import ReinsuranceContract
from contracts import InsuranceContract, ReinsuranceContract
from riskmodel import RiskModel
import sys, pdb
import uuid
Expand Down
2 changes: 2 additions & 0 deletions contracts/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from .insurancecontract import InsuranceContract
from .reinsurancecontract import ReinsuranceContract

0 comments on commit 25a7003

Please sign in to comment.