lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master ce789de 3/8: Treat 'AddonMonthlyFee' as a BOY


From: Greg Chicares
Subject: [lmi-commits] [lmi] master ce789de 3/8: Treat 'AddonMonthlyFee' as a BOY vector
Date: Thu, 9 Apr 2020 18:33:04 -0400 (EDT)

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

    Treat 'AddonMonthlyFee' as a BOY vector
    
    LedgerInvariant::AddonMonthlyFee is actually additive, just as
    LedgerVariant::PolicyFee is additive. It's a bit of a misnomer to
    describe monthly deductions as BOY--they're really BOM--but the
    distinction here is BOY versus EOY, where the significant contrast
    is 'B' versus 'E', and the 'Y' doesn't really mean anything.
---
 ledger_invariant.cpp | 2 +-
 ledger_invariant.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ledger_invariant.cpp b/ledger_invariant.cpp
index 81a1b15..f581441 100644
--- a/ledger_invariant.cpp
+++ b/ledger_invariant.cpp
@@ -91,6 +91,7 @@ void LedgerInvariant::Alloc(int len)
     BegYearVectors  ["ModalMinimumPremium"   ] = &ModalMinimumPremium    ;
     BegYearVectors  ["EeModalMinimumPremium" ] = &EeModalMinimumPremium  ;
     BegYearVectors  ["ErModalMinimumPremium" ] = &ErModalMinimumPremium  ;
+    BegYearVectors  ["AddonMonthlyFee"       ] = &AddonMonthlyFee        ;
 
     EndYearVectors  ["TermSpecAmt"           ] = &TermSpecAmt            ;
     EndYearVectors  ["SpecAmt"               ] = &SpecAmt                ;
@@ -101,7 +102,6 @@ void LedgerInvariant::Alloc(int len)
     OtherVectors    ["AnnualFlatExtra"       ] = &AnnualFlatExtra        ;
     OtherVectors    ["HoneymoonValueSpread"  ] = &HoneymoonValueSpread   ;
     OtherVectors    ["PartMortTableMult"     ] = &PartMortTableMult      ;
-    OtherVectors    ["AddonMonthlyFee"       ] = &AddonMonthlyFee        ;
     OtherVectors    ["AddonCompOnAssets"     ] = &AddonCompOnAssets      ;
     OtherVectors    ["AddonCompOnPremium"    ] = &AddonCompOnPremium     ;
     OtherVectors    ["CorridorFactor"        ] = &CorridorFactor         ;
diff --git a/ledger_invariant.hpp b/ledger_invariant.hpp
index 80c1fa1..9711664 100644
--- a/ledger_invariant.hpp
+++ b/ledger_invariant.hpp
@@ -79,6 +79,7 @@ class LMI_SO LedgerInvariant final
     std::vector<double> ModalMinimumPremium;
     std::vector<double> EeModalMinimumPremium;
     std::vector<double> ErModalMinimumPremium;
+    std::vector<double> AddonMonthlyFee;
 
     // EOY vectors.
     std::vector<double> TermSpecAmt;
@@ -91,7 +92,6 @@ class LMI_SO LedgerInvariant final
     std::vector<double> AnnualFlatExtra;
     std::vector<double> HoneymoonValueSpread;
     std::vector<double> PartMortTableMult;
-    std::vector<double> AddonMonthlyFee;
     std::vector<double> AddonCompOnAssets;
     std::vector<double> AddonCompOnPremium;
     std::vector<double> CorridorFactor;



reply via email to

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