lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 3ee0c70 15/24: Make two member functions iden


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3ee0c70 15/24: Make two member functions identical
Date: Wed, 30 Dec 2020 18:47:00 -0500 (EST)

branch: master
commit 3ee0c70494edddbfe9fc6adf7bbcc241e54a90d3
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Make two member functions identical
---
 ihs_basicval.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ihs_basicval.cpp b/ihs_basicval.cpp
index 6b0eb11..1ec3048 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -74,6 +74,7 @@ BasicValues::BasicValues(Input const& input)
     ,StateOfJurisdiction_{mce_s_CT}
     ,StateOfDomicile_    {mce_s_CT}
     ,PremiumTaxState_    {mce_s_CT}
+    ,InitialTargetPremium{0.0}
 {
     Init();
 }
@@ -251,14 +252,6 @@ void BasicValues::Init()
     PremiumTax_    .reset(new premium_tax    (PremiumTaxState_, 
StateOfDomicile_, yare_input_.AmortizePremiumLoad, database(), 
*StratifiedCharges_));
     Loads_         .reset(new Loads          (*this));
 
-    // The target premium can't be ascertained yet if specamt is
-    // determined by a strategy. This data member is used only by
-    // Init7702(), and is meaningful only when that function is called
-    // by GPTServerInit(); the value assigned here is overridden by a
-    // downstream call to Irc7702::Initialize7702(). TAXATION !! So
-    // eliminate the member when it becomes unnecessary.
-    InitialTargetPremium = 0.0;
-
     SetMaxSurvivalDur();
     set_partial_mortality();
 
@@ -575,6 +568,13 @@ void BasicValues::Init7702()
 
     double local_adb_limit = database().query<bool>(DB_AdbIsQAB) ? AdbLimit : 
0.0;
 
+    // BasicValues::InitialTargetPremium is used only here. For
+    // standalone GPT calculations, it's an input field. For
+    // illustrations, it's simply initialized to zero: the target
+    // premium can't be ascertained yet if the specified amount is
+    // to be determined by a strategy, but a downstream call to
+    // Irc7702::Initialize7702() takes care of that.
+
     Irc7702_.reset
         (new Irc7702
             (yare_input_.DefinitionOfLifeInsurance



reply via email to

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