lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [5357] Fix defect introduced 20050114T1947Z


From: Greg Chicares
Subject: [lmi-commits] [5357] Fix defect introduced 20050114T1947Z
Date: Wed, 11 Jan 2012 19:26:30 +0000

Revision: 5357
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5357
Author:   chicares
Date:     2012-01-11 19:26:29 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
Fix defect introduced 20050114T1947Z

Modified Paths:
--------------
    lmi/trunk/ChangeLog
    lmi/trunk/ihs_irc7702.cpp

Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2012-01-11 17:46:30 UTC (rev 5356)
+++ lmi/trunk/ChangeLog 2012-01-11 19:26:29 UTC (rev 5357)
@@ -29421,3 +29421,10 @@
 the lmi epoch: a case in force after the issue date isn't new business
 even if it's still in the first year.
 
+20120111T1926Z <address@hidden> [588]
+
+  ihs_irc7702.cpp
+Fix defect introduced 20050114T1947Z, from an original file predating
+the lmi epoch: initialize inforce data not to a constant zero, but
+instead from input values.
+

Modified: lmi/trunk/ihs_irc7702.cpp
===================================================================
--- lmi/trunk/ihs_irc7702.cpp   2012-01-11 17:46:30 UTC (rev 5356)
+++ lmi/trunk/ihs_irc7702.cpp   2012-01-11 19:26:29 UTC (rev 5357)
@@ -203,14 +203,14 @@
         LeastBftAmtEver = a_LeastBftAmtEver;
         LMI_ASSERT(LeastBftAmtEver <= PriorBftAmt);
         LMI_ASSERT(LeastBftAmtEver <= PresentBftAmt);
-//      PriorDBOpt      = PresentDBOpt;     // TODO ??
-// TODO ?? Think more about inforce.
-        PresentGLP      = 0.0;  // TODO ??
-        PriorGLP        = 0.0;
-        CumGLP          = InforceCumGLP;    // TODO ?? Don't need as member?
-        PresentGSP      = 0.0;
-        PriorGSP        = a_InforceGSP;     // TODO ?? Don't need as member?
-        GptLimit        = 0.0;  // TODO ??
+        PriorDBOpt      = PresentDBOpt; // TODO ?? a_PriorDBOpt is unused; is 
it even wanted?
+        // TODO ?? Must these be members? The arguments could be used here 
instead.
+        PresentGLP      = InforceGLP;
+        PriorGLP        = InforceGLP;
+        CumGLP          = InforceCumGLP;
+        PresentGSP      = InforceGSP;
+        PriorGSP        = InforceGSP;
+        GptLimit        = std::max(CumGLP, PresentGSP);
         CumPmts         = a_InforceCumPremsPaid;
 // to handle inforce, we need to know:
 // the quantity A in A+B-C (i.e. both GSP and GLP)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]