lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6432] Ignore immaterial premium shortfalls


From: Greg Chicares
Subject: [lmi-commits] [6432] Ignore immaterial premium shortfalls
Date: Tue, 08 Dec 2015 15:52:33 +0000

Revision: 6432
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6432
Author:   chicares
Date:     2015-12-08 15:52:31 +0000 (Tue, 08 Dec 2015)
Log Message:
-----------
Ignore immaterial premium shortfalls

Modified Paths:
--------------
    lmi/trunk/ihs_acctval.cpp

Modified: lmi/trunk/ihs_acctval.cpp
===================================================================
--- lmi/trunk/ihs_acctval.cpp   2015-12-07 12:05:28 UTC (rev 6431)
+++ lmi/trunk/ihs_acctval.cpp   2015-12-08 15:52:31 UTC (rev 6432)
@@ -1151,8 +1151,8 @@
         )
         {
         mcenum_mode const ee_mode = InvariantValues().EeMode[0].value();
-        double const required = MinInitPrem();
-        double const shortfall = std::max(0.0, required - InitAnnPlannedPrem_);
+        double const z = material_difference(MinInitPrem(), 
InitAnnPlannedPrem_);
+        double const shortfall = std::max(0.0, z);
         return round_min_premium()(shortfall / ee_mode);
         }
     else




reply via email to

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