lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] valyuta/002 4d9fed5 15/65: document


From: Greg Chicares
Subject: [lmi-commits] [lmi] valyuta/002 4d9fed5 15/65: document
Date: Wed, 16 Sep 2020 16:55:13 -0400 (EDT)

branch: valyuta/002
commit 4d9fed5e560b0776ee2b80e3ad6951d5c4e1d54a
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    document
---
 ihs_avstrtgy.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ihs_avstrtgy.cpp b/ihs_avstrtgy.cpp
index 4fc6cb6..dc2dbf8 100644
--- a/ihs_avstrtgy.cpp
+++ b/ihs_avstrtgy.cpp
@@ -147,6 +147,7 @@ void AccountValue::PerformSpecAmtStrategy()
             strategy = mce_sa_input_scalar;
             }
         currency z = CalculateSpecAmtFromStrategy(j, 0, explicit_value, 
strategy);
+        // Shouldn't rounding be done upstream?
         DeathBfts_->set_specamt(currency(round_specamt()(std::max(m, z))), j, 
1 + j);
         if
             (  j == InforceYear
@@ -178,7 +179,8 @@ void AccountValue::PerformSupplAmtStrategy()
         currency explicit_value = DeathBfts_->supplamt()[j];
         mcenum_sa_strategy strategy = 
yare_input_.SupplementalAmountStrategy[j];
         currency z = CalculateSpecAmtFromStrategy(j, 0, explicit_value, 
strategy);
-        DeathBfts_->set_supplamt(currency(round_specamt()(std::max(m, z))), j, 
1 + j); // rounding
+        // Shouldn't rounding be done upstream?
+        DeathBfts_->set_supplamt(currency(round_specamt()(std::max(m, z))), j, 
1 + j);
         }
 }
 



reply via email to

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