[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 83eb025 05/22: Rename a local variable
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 83eb025 05/22: Rename a local variable |
Date: |
Sun, 6 Jun 2021 21:37:59 -0400 (EDT) |
branch: master
commit 83eb0250cc40d2586faf910529d50bd89b281f2e
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Rename a local variable
Reason: concinnity with 'ihs_avsolve.cpp'.
---
solve.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/solve.cpp b/solve.cpp
index 6fe047e..e0673c9 100644
--- a/solve.cpp
+++ b/solve.cpp
@@ -322,7 +322,7 @@ currency AccountValue::Solve()
}
}
- root_type const Solution = decimal_root
+ root_type const solution = decimal_root
(LowerBound
,UpperBound
,Bias
@@ -330,12 +330,12 @@ currency AccountValue::Solve()
,SolveFn
,status()
);
- if(root_not_bracketed == Solution.second)
+ if(root_not_bracketed == solution.second)
{
- LMI_ASSERT(0.0 == Solution.first);
- warning() << "Solution not found. Using zero instead." << LMI_FLUSH;
+ LMI_ASSERT(0.0 == solution.first);
+ warning() << "solution not found. Using zero instead." << LMI_FLUSH;
}
- currency const solution_cents = round_to_cents.c(Solution.first);
+ currency const solution_cents = round_to_cents.c(solution.first);
Solving = false;
- [lmi-commits] [lmi] master updated (f0526be -> 86661b6), Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 7bd1245 01/22: Add a unit test: root of another unfriendly function, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master c01b9b0 02/22: Improve concinnity, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 012967c 08/22: Diagnose any attempt to find a root in a zero-measure interval, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 83eb025 05/22: Rename a local variable,
Greg Chicares <=
- [lmi-commits] [lmi] master ec0a308 06/22: Refactor, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 99aebcc 07/22: Treat decimal_root return value more flexibly, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 5c31ab3 09/22: Fix latent unit-test errors, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 2391573 11/22: Rename a variable, for terseness, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master b14e318 18/22: Adjust tolerance for a particular unit-test function, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 1c448d8 20/22: Augment decimal_root()'s return type, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 53c3513 21/22: Reorder unit tests, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 5cf534c 04/22: Constify, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 3865416 10/22: Rearrange certain unit tests, Greg Chicares, 2021/06/06
- [lmi-commits] [lmi] master 1f8316c 16/22: Test actual return value, Greg Chicares, 2021/06/06