aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/intex_scenarios.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/intex_scenarios.py b/python/intex_scenarios.py
index 55cbbfb0..68519b3c 100644
--- a/python/intex_scenarios.py
+++ b/python/intex_scenarios.py
@@ -56,8 +56,8 @@ def convert_reinvtoperct(d):
newd['REINV_TBA1'] = 100
return newd
if d['REINV_TBA1'] == d['REINV_TBA2']: # case when we have two float or two fixed assets
- newd['REINV_TBA1'] = 85
- newd['REINV_TBA2'] = 15
+ newd['REINV_TBA1'] = reinvfloatpercentage
+ newd['REINV_TBA2'] = reinvfixedpercentage
elif d['REINV_TBA1'] == 'Float':
newd['REINV_TBA1'] = reinvfloatpercentage
newd['REINV_TBA2'] = reinvfixedpercentage