[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 53186b7 05/10: Reorder independent blocks
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 53186b7 05/10: Reorder independent blocks |
Date: |
Mon, 1 Mar 2021 09:39:23 -0500 (EST) |
branch: master
commit 53186b722075751aac6fd1f19d481b57f44914ac
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Reorder independent blocks
Moved the AV load below more important things.
---
i7702.cpp | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/i7702.cpp b/i7702.cpp
index 1c37df1..d778293 100644
--- a/i7702.cpp
+++ b/i7702.cpp
@@ -36,15 +36,6 @@ i7702::i7702
:database_ {database}
,stratified_ {stratified}
{
- database_.query_into(DB_CurrAcctValLoad, spread_);
- if
- ( database_.query<bool>(DB_AllowSepAcct)
- && !database_.query<bool>(DB_AllowGenAcct)
- )
- {
- spread_ += stratified_.minimum_tiered_sepacct_load_for_7702();
- }
-
// Monthly guar net int for 7702 is
// greater of {iglp(), igsp()} and annual guar int rate
// less 7702 spread
@@ -84,6 +75,15 @@ i7702::i7702
// the issue date constitutes a short-term guarantee that must be
// reflected in the 7702 interest rates (excluding the GLP rate).
+ database_.query_into(DB_CurrAcctValLoad, spread_);
+ if
+ ( database_.query<bool>(DB_AllowSepAcct)
+ && !database_.query<bool>(DB_AllowGenAcct)
+ )
+ {
+ spread_ += stratified_.minimum_tiered_sepacct_load_for_7702();
+ }
+
gross_.assign(database_.length(), 0.0);
assign
(gross_
- [lmi-commits] [lmi] master updated (e5b0ac2 -> 8ffc9d2), Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master e3c0e51 02/10: Improve PETE unit test, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master 56f9792 06/10: Turn a member into a local variable, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master c695cd7 01/10: Add PETE vector tests, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master 4d37390 03/10: Mention lmi's improved unit test, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master 53186b7 05/10: Reorder independent blocks,
Greg Chicares <=
- [lmi-commits] [lmi] master aab3295 07/10: Rename a local variable, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master 3ef5a8e 08/10: Draw attention to an improvement deferred, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master ecd20b1 04/10: Improve Max() and Min() implementations, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master 8ffc9d2 10/10: Calculate 7702 'ig' more carefully, Greg Chicares, 2021/03/01
- [lmi-commits] [lmi] master f135b80 09/10: Assert correspondence between DB_GuarInt and DB_NaarDiscount, Greg Chicares, 2021/03/01