lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master c463357 5/5: Refactor for simplicity


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c463357 5/5: Refactor for simplicity
Date: Thu, 27 Aug 2020 14:42:48 -0400 (EDT)

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

    Refactor for simplicity
---
 ihs_avmly.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index 49026b5..4a6ed18 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -1168,10 +1168,8 @@ void AccountValue::TxAscertainDesiredPayment()
 //     does GPT effect also vary by basis?
 //       e.g. when opt change produces different spec amts
 
-    mcenum_mode const ee_mode = Outlay_->ee_premium_modes()[Year];
-    mcenum_mode const er_mode = Outlay_->er_premium_modes()[Year];
-    bool const ee_pay_this_month = IsModalPmtDate(ee_mode);
-    bool const er_pay_this_month = IsModalPmtDate(er_mode);
+    bool const ee_pay_this_month = 
IsModalPmtDate(Outlay_->ee_premium_modes()[Year]);
+    bool const er_pay_this_month = 
IsModalPmtDate(Outlay_->er_premium_modes()[Year]);
     // Month zero must be a modal payment date for both ee and er.
     LMI_ASSERT((ee_pay_this_month && er_pay_this_month) || (0 != Month));
 



reply via email to

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