lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/004 80a18db 14/17: Make two member functions


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/004 80a18db 14/17: Make two member functions identical
Date: Thu, 24 Dec 2020 10:23:53 -0500 (EST)

branch: valyuta/004
commit 80a18dbfbd708a1e2d1efbd942670bb741fc60c6
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 8b21e6c..857a638 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -80,6 +80,7 @@ BasicValues::BasicValues(Input const& input)
     ,StateOfJurisdiction_{mce_s_CT}
     ,StateOfDomicile_    {mce_s_CT}
     ,PremiumTaxState_    {mce_s_CT}
+    ,InitialTargetPremium{C0}
 {
     Init();
 }
@@ -261,14 +262,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 = C0;
-
     SetMaxSurvivalDur();
     set_partial_mortality();
 
@@ -585,6 +578,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]