lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 0f82d68 5/5: Fix defect introduced 20120822T1


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 0f82d68 5/5: Fix defect introduced 20120822T1138Z: wrong corridor in specamt load
Date: Fri, 15 Sep 2017 07:51:31 -0400 (EDT)

branch: master
commit 0f82d6874dced71d656eb48c6e41676aa3bd377d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix defect introduced 20120822T1138Z: wrong corridor in specamt load
    
    The specamt-load base should reflect the corridor DB on the issue date.
    Instead, for inforce, it reflected the current inforce corridor DB.
---
 ihs_avmly.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index 7b9dc5d..07d3dec 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -1602,10 +1602,12 @@ void AccountValue::TxSetBOMAV()
         LMI_ASSERT(yare_input_.InforceSpecAmtLoadBase <= SpecAmtLoadLimit);
         SpecAmtLoadBase =
             (0 == Year && 0 == Month)
-            ? InvariantValues().TermSpecAmt[0] + InvariantValues().SpecAmt[0]
+            ? std::max
+                (InvariantValues().TermSpecAmt[0] + 
InvariantValues().SpecAmt[0]
+                ,NetPmts[0] * YearsCorridorFactor
+                )
             : yare_input_.InforceSpecAmtLoadBase
             ;
-        SpecAmtLoadBase = std::max(SpecAmtLoadBase, NetPmts[Month] * 
YearsCorridorFactor);
         SpecAmtLoadBase = std::min(SpecAmtLoadBase, SpecAmtLoadLimit);
         }
 



reply via email to

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