lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/005 e7a64aa 6/6: Resolve some gratuitous inc


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/005 e7a64aa 6/6: Resolve some gratuitous incompatibilities with master
Date: Mon, 25 Jan 2021 12:11:02 -0500 (EST)

branch: valyuta/005
commit e7a64aaf12cdac6792a5dcfab211514494d5412c
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Resolve some gratuitous incompatibilities with master
---
 account_value.hpp       | 4 ++--
 death_benefits.cpp      | 2 +-
 ihs_acctval.cpp         | 2 +-
 ihs_avstrtgy.cpp        | 8 ++++----
 ledger_variant_init.cpp | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/account_value.hpp b/account_value.hpp
index 60868d4..9f586dd 100644
--- a/account_value.hpp
+++ b/account_value.hpp
@@ -403,10 +403,10 @@ class LMI_SO AccountValue final
     currency InforceRegLnBal;
     currency InforcePrfLnBal;
     currency InforceCumNoLapsePrem;
-    currency InforceBasis;
+    currency InforceBasis; // CURRENCY !! unused
     currency InforceCumPmts;
     currency InforceTaxBasis;
-    currency InforceLoanBalance;
+    currency InforceLoanBalance; // CURRENCY !! unused
 
     // Intermediate values.
     int      Year;
diff --git a/death_benefits.cpp b/death_benefits.cpp
index 40743dd..52259d2 100644
--- a/death_benefits.cpp
+++ b/death_benefits.cpp
@@ -49,7 +49,7 @@ death_benefits::death_benefits
     supplamt_.resize(length_);
     for(int j = 0; j < length_; ++j)
         {
-        dbopt_   [j] =                yi.DeathBenefitOption[j];
+        dbopt_   [j] =                  yi.DeathBenefitOption[j];
         specamt_ [j] = round_specamt_.c(yi.SpecifiedAmount   [j]);
         supplamt_[j] = round_specamt_.c(yi.SupplementalAmount[j]);
         }
diff --git a/ihs_acctval.cpp b/ihs_acctval.cpp
index 94c763a..ac3aa29 100644
--- a/ihs_acctval.cpp
+++ b/ihs_acctval.cpp
@@ -124,7 +124,7 @@ AccountValue::AccountValue(Input const& input)
     deathbft                 = C0;         // Antediluvian.
     haswp                    = false;      // Antediluvian.
     hasadb                   = false;      // Antediluvian.
-    mlydedtonextmodalpmtdate = C0   ;      // Antediluvian.
+    mlydedtonextmodalpmtdate = C0;         // Antediluvian.
 
     set_list_bill_year_and_month();
 
diff --git a/ihs_avstrtgy.cpp b/ihs_avstrtgy.cpp
index db57d41..df754f1 100644
--- a/ihs_avstrtgy.cpp
+++ b/ihs_avstrtgy.cpp
@@ -275,22 +275,22 @@ currency AccountValue::DoPerformPmtStrategy
             }
         case mce_pmt_mep:
             {
-            currency sa = specamt_for_7702A(0.0);
+            currency sa = specamt_for_7702A(0);
             return GetModalPremMaxNonMec(0, a_InitialMode, sa);
             }
         case mce_pmt_glp:
             {
-            currency sa = specamt_for_7702(0.0);
+            currency sa = specamt_for_7702(0);
             return GetModalPremGLP(0, a_InitialMode, sa, sa);
             }
         case mce_pmt_gsp:
             {
-            currency sa = specamt_for_7702(0.0);
+            currency sa = specamt_for_7702(0);
             return GetModalPremGSP(0, a_InitialMode, sa, sa);
             }
         case mce_pmt_corridor:
             {
-            currency sa = specamt_for_7702(0.0);
+            currency sa = specamt_for_7702(0);
             return GetModalPremCorridor(0, a_InitialMode, sa);
             }
         case mce_pmt_table:
diff --git a/ledger_variant_init.cpp b/ledger_variant_init.cpp
index 080dae4..9114690 100644
--- a/ledger_variant_init.cpp
+++ b/ledger_variant_init.cpp
@@ -112,7 +112,7 @@ void LedgerVariant::Init
         ;
 
     InitTgtPremHiLoadRate = 
bv.Loads_->target_premium_load_maximum_premium_tax()[bv.yare_input_.InforceYear];
-    InitMlyPolFee         = dblize(bv.Loads_->monthly_policy_fee(GenBasis_)    
        [bv.yare_input_.InforceYear]);
+    InitMlyPolFee         = dblize(bv.Loads_->monthly_policy_fee(GenBasis_)    
 [bv.yare_input_.InforceYear]);
 
     FullyInitialized = true;
 }



reply via email to

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