[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master afd749a 2/8: Improve concinnity
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master afd749a 2/8: Improve concinnity |
Date: |
Thu, 27 May 2021 17:44:26 -0400 (EDT) |
branch: master
commit afd749a78f0819b9941622eb825ff6dc13ec40e4
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Improve concinnity
---
ihs_avsolve.cpp | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/ihs_avsolve.cpp b/ihs_avsolve.cpp
index 81ae801..182c408 100644
--- a/ihs_avsolve.cpp
+++ b/ihs_avsolve.cpp
@@ -54,10 +54,9 @@ namespace
class SolveHelper
{
- AccountValue& av;
public:
- SolveHelper(AccountValue& a_av)
- :av {a_av}
+ SolveHelper(AccountValue& av)
+ :av_ {av}
{
}
// CURRENCY !! decimal_root() invokes this thus:
@@ -69,8 +68,11 @@ class SolveHelper
// or at least to make this function take a 'currency' argument.
double operator()(double a_CandidateValue)
{
- return dblize(av.SolveTest(av.round_minutiae().c(a_CandidateValue)));
+ return dblize(av_.SolveTest(av_.round_minutiae().c(a_CandidateValue)));
}
+
+ private:
+ AccountValue& av_;
};
/// Return outcome of a trial with a given input value.
- [lmi-commits] [lmi] master updated (f9d13e6 -> f9276c0), Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master 2eb2647 1/8: Improve documentation, Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master f9276c0 8/8: Rework minimum bounds for solves, Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master 34aca34 7/8: Resolve a marked not-a-defect: minimum WD in solves [277], Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master 63b6363 4/8: Improve documentation, Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master afd749a 2/8: Improve concinnity,
Greg Chicares <=
- [lmi-commits] [lmi] master 095b198 3/8: Resolve a marked defect: prefer members to globals [279], Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master b319cd2 6/8: Expunge a footling defect marker [278], Greg Chicares, 2021/05/27
- [lmi-commits] [lmi] master 54b2686 5/8: Reformat, Greg Chicares, 2021/05/27