[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5382] Assert that endowment benefit does not exceed speca
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5382] Assert that endowment benefit does not exceed specamt |
Date: |
Fri, 27 Jan 2012 12:49:46 +0000 |
Revision: 5382
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5382
Author: chicares
Date: 2012-01-27 12:49:46 +0000 (Fri, 27 Jan 2012)
Log Message:
-----------
Assert that endowment benefit does not exceed specamt
Modified Paths:
--------------
lmi/trunk/ihs_irc7702.cpp
Modified: lmi/trunk/ihs_irc7702.cpp
===================================================================
--- lmi/trunk/ihs_irc7702.cpp 2012-01-25 15:22:18 UTC (rev 5381)
+++ lmi/trunk/ihs_irc7702.cpp 2012-01-27 12:49:46 UTC (rev 5382)
@@ -183,14 +183,14 @@
,InforceGSP (a_InforceGSP)
,InforceCumPremsPaid(a_InforceCumPremsPaid)
{
- LMI_ASSERT(a_PresentSpecAmt <= a_PresentBftAmt);
+ LMI_ASSERT(a_PresentSpecAmt <= a_PresentBftAmt );
+ LMI_ASSERT(a_LeastBftAmtEver <= a_PresentSpecAmt);
LMI_ASSERT(0.0 <= a_TargetPremium);
// TODO ?? TAXATION !! Instead put these in initializer-list and write
assertions?
if(0 == InforceYear && 0 == InforceMonth)
{
PriorBftAmt = a_PresentBftAmt;
PriorSpecAmt = a_PresentSpecAmt;
- // TODO ?? TAXATION !! Assert that this is <= least-bft arg?
LeastBftAmtEver = a_PresentSpecAmt; // TAXATION !! Why not
a_LeastBftAmtEver?
PriorDBOpt = PresentDBOpt;
PresentGLP = 0.0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5382] Assert that endowment benefit does not exceed specamt,
Greg Chicares <=