[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3ef5a8e 08/10: Draw attention to an improveme
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3ef5a8e 08/10: Draw attention to an improvement deferred |
Date: |
Mon, 1 Mar 2021 09:39:23 -0500 (EST) |
branch: master
commit 3ef5a8e028e5e7858781307eb3cdd4a0da6a602a
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Draw attention to an improvement deferred
---
ihs_basicval.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ihs_basicval.cpp b/ihs_basicval.cpp
index 3e60e83..31e2d24 100644
--- a/ihs_basicval.cpp
+++ b/ihs_basicval.cpp
@@ -600,6 +600,8 @@ void BasicValues::SetPermanentInvariants()
// This would be more natural:
// assign(DBDiscountRate, 1.0 / (1.0 + DBDiscountRate));
// but we avoid it for the nonce because it causes slight regression errors.
+// 7702 !! Use the more natural (and more accurate) version once DCV
+// has been changed from double to currency.
assign(DBDiscountRate, 1.0 + DBDiscountRate);
assign(DBDiscountRate, 1.0 / DBDiscountRate);
- [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, 2021/03/01
- [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 <=
- [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