[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5325] Respect 'TgtPremFixedAtIssue' in the 'mce_pmt_targe
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5325] Respect 'TgtPremFixedAtIssue' in the 'mce_pmt_target' case |
Date: |
Sun, 04 Dec 2011 01:21:47 +0000 |
Revision: 5325
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5325
Author: chicares
Date: 2011-12-04 01:21:46 +0000 (Sun, 04 Dec 2011)
Log Message:
-----------
Respect 'TgtPremFixedAtIssue' in the 'mce_pmt_target' case
Modified Paths:
--------------
lmi/trunk/ihs_avstrtgy.cpp
Modified: lmi/trunk/ihs_avstrtgy.cpp
===================================================================
--- lmi/trunk/ihs_avstrtgy.cpp 2011-12-03 19:18:25 UTC (rev 5324)
+++ lmi/trunk/ihs_avstrtgy.cpp 2011-12-04 01:21:46 UTC (rev 5325)
@@ -225,11 +225,9 @@
}
case mce_pmt_target:
{
-// TODO ?? Shouldn't a modalized version of something like
-// InitialTargetPremium
-// AnnualTargetPrem
-// be used instead, at least in the 'TgtPremFixedAtIssue' case?
- return GetModalTgtPrem(Year, a_CurrentMode, ActualSpecAmt);
+ int const target_year = TgtPremFixedAtIssue ? 0 : Year;
+ double sa = InvariantValues().SpecAmt[target_year];
+ return GetModalTgtPrem(Year, a_CurrentMode, sa);
}
case mce_pmt_mep:
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5325] Respect 'TgtPremFixedAtIssue' in the 'mce_pmt_target' case,
Greg Chicares <=