[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 03424fd 2/6: Expunge obsolete surrender-charg
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 03424fd 2/6: Expunge obsolete surrender-charge components |
Date: |
Tue, 30 Oct 2018 18:21:42 -0400 (EDT) |
branch: master
commit 03424fd9647f2e8c82ab9d6830b422dff8590c09
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Expunge obsolete surrender-charge components
---
account_value.hpp | 2 --
ihs_acctval.cpp | 11 +----------
2 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/account_value.hpp b/account_value.hpp
index 91f96bb..6605368 100644
--- a/account_value.hpp
+++ b/account_value.hpp
@@ -495,8 +495,6 @@ class LMI_SO AccountValue
double YearsRegLnIntDueRate;
double YearsPrfLnIntDueRate;
- double YearsSurrChgPremMult;
- double YearsSurrChgAVMult;
double YearsCoiRate0;
double YearsCoiRate1;
double YearsCoiRate2;
diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index a7f16cb..0e98744 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -1202,9 +1202,7 @@ double AccountValue::SurrChg()
LMI_ASSERT(0.0 <= InvariantValues().SpecAmt[0]);
return
- YearsSurrChgAVMult * std::max(0.0, TotalAccountValue())
- + YearsSurrChgPremMult * std::max(0.0, CumPmts)
- + SurrChg_[Year]
+ SurrChg_[Year]
- YearsCashValueEnhMult * std::max(0.0, TotalAccountValue())
- yare_input_.CashValueEnhancementRate[Year] * std::max(0.0,
TotalAccountValue())
;
@@ -1598,13 +1596,6 @@ void AccountValue::SetAnnualInvariants()
YearsSpouseRiderRate = MortalityRates_->SpouseRiderRates
(GenBasis_)[Year];
YearsChildRiderRate = MortalityRates_->ChildRiderRates ()
[Year];
- YearsSurrChgPremMult = SurrChgRates_->RatePerDollarOfPremium()
[Year];
-
- YearsSurrChgAVMult =
- SurrChgRates_->RatePerDollarOfAcctval() [Year]
- * SurrChgRates_->AcctvalRateDurationalFactor() [Year]
- ;
-
YearsTotLoadTgt = Loads_->target_total_load (GenBasis_)[Year];
YearsTotLoadExc = Loads_->excess_total_load (GenBasis_)[Year];
// TAXATION !! This '_lowest_premium_tax' approach needs to be
- [lmi-commits] [lmi] master updated (61a3f73 -> f5ad6f7), Greg Chicares, 2018/10/30
- [lmi-commits] [lmi] master c2e0976 1/6: Remove weird surrender charges [357], Greg Chicares, 2018/10/30
- [lmi-commits] [lmi] master 65508e2 3/6: Refactor, Greg Chicares, 2018/10/30
- [lmi-commits] [lmi] master ced2b54 5/6: Improve documentation, Greg Chicares, 2018/10/30
- [lmi-commits] [lmi] master 03424fd 2/6: Expunge obsolete surrender-charge components,
Greg Chicares <=
- [lmi-commits] [lmi] master 70ead9b 4/6: Eradicate disused "surrender charge specified amount" concept [355], Greg Chicares, 2018/10/30
- [lmi-commits] [lmi] master f5ad6f7 6/6: Expunge disused class SurrChgRates, Greg Chicares, 2018/10/30