lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 7b02eab: Improve documentation [422]


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 7b02eab: Improve documentation [422]
Date: Fri, 20 Jan 2017 23:11:55 +0000 (UTC)

branch: master
commit 7b02eabcf1e4398895d5d7fbbf2c228908652882
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve documentation [422]
---
 ledger_base.cpp |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ledger_base.cpp b/ledger_base.cpp
index 31eeb25..85dde59 100644
--- a/ledger_base.cpp
+++ b/ledger_base.cpp
@@ -447,11 +447,10 @@ void LedgerBase::ApplyScaleFactor(double a_Mult)
         }
     m_scale_unit = look_up_scale_unit(m_scaling_factor);
 
-    // TODO ?? Would be clearer with bind1st.
+    // ET !! *i.second *= M;
     std::vector<double>M(GetLength(), m_scaling_factor);
     for(auto& i : ScalableVectors)
         {
-        // ET !! *i.second *= M;
         std::vector<double>& v = *i.second;
         std::transform
             (v.begin()
@@ -478,7 +477,6 @@ double LedgerBase::ScaleFactor() const
 //============================================================================
 void LedgerBase::UpdateCRC(CRC& crc) const
 {
-// TODO ?? std::transform() might be cleaner.
     for(auto const& i : AllVectors)
         {
         crc += *i.second;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]