[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master fdb47029 08/27: Fix dblize()ation in commente
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master fdb47029 08/27: Fix dblize()ation in commented-out code |
Date: |
Mon, 25 Apr 2022 12:56:15 -0400 (EDT) |
branch: master
commit fdb47029762526da12121de40b81263a689b46d2
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Fix dblize()ation in commented-out code
Reenabling the commented-out code without this correction would elicit
anomalous behavior.
---
ihs_avmly.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ihs_avmly.cpp b/ihs_avmly.cpp
index 4fc03efa..1eb241a3 100644
--- a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ -1018,10 +1018,10 @@ void AccountValue::TxSpecAmtChange()
,minimum_specified_amount(0 == Year && 0 == Month,
TermRiderActive)
);
ActualSpecAmt = round_specamt().c(ActualSpecAmt); // CURRENCY !!
already rounded?
- InvariantValues().SpecAmt[j] = ActualSpecAmt;
+ InvariantValues().SpecAmt[j] = dblize(ActualSpecAmt);
if(!TermIsNotRider)
{
- InvariantValues().TermSpecAmt[j] = TermSpecAmt;
+ InvariantValues().TermSpecAmt[j] = dblize(TermSpecAmt);
}
}
// Set BOM DB for 7702 and 7702A.
- [lmi-commits] [lmi] master updated (c50cc9b1 -> 09e00258), Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 8ea7412a 01/27: Allow "touchstone" files to contain '\t', Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 20297761 05/27: Add a new ledger emission option, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master d4083917 07/27: Test eleven farraginous files nychthemerally, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master d195c7af 10/27: Add a unit test for ledger_format(), Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 3064fee4 09/27: Add a helper function with a deliberately ugly name, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 37b663fe 11/27: Add an option to format cents as decimal dollars, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 550db6d9 15/27: Record speed measurements, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master a7d075cd 16/27: Document, suppress, or expunge unused formats, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master fdb47029 08/27: Fix dblize()ation in commented-out code,
Greg Chicares <=
- [lmi-commits] [lmi] master 174198af 12/27: Reformat, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master dcbe9418 14/27: Change currency fields in ledger to integral cents, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master af0666c3 24/27: Distinguish two ledger formats, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 7b30e2d8 03/27: Filter unexpectedly small system-test discrepancies, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master d7ab80c6 04/27: Clean up beforehand, not afterward, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 12192723 06/27: Add two new ledger emission options, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 119df7a9 13/27: Add a 'divisor' argument to LedgerBase::value_str(), Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 2b108ed7 18/27: Avoid unnecessary rounding, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master b7c61b4d 20/27: Regularize format names, Greg Chicares, 2022/04/25
- [lmi-commits] [lmi] master 8de190ce 17/27: Regularize whitespace, Greg Chicares, 2022/04/25