[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/005 fd74b61 03/17: Correct an obvious mistak
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/005 fd74b61 03/17: Correct an obvious mistake |
Date: |
Sat, 16 Jan 2021 21:06:17 -0500 (EST) |
branch: valyuta/005
commit fd74b614fba068cccbf9fdc3d7fc290aca7107a7
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Correct an obvious mistake
A unit test should have caught this.
---
round_to.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/round_to.hpp b/round_to.hpp
index 66b1d62..bd79bef 100644
--- a/round_to.hpp
+++ b/round_to.hpp
@@ -394,7 +394,7 @@ std::vector<currency>
round_to<RealType>::c(std::vector<RealType> r) const
{
std::vector<currency> z;
z.reserve(r.size());
- for(auto const& i : r) {z.push_back(c()(i));}
+ for(auto const& i : r) {z.push_back(c(i));}
return z;
}
- [lmi-commits] [lmi] branch valyuta/005 created (now 4401725), Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 fd74b61 03/17: Correct an obvious mistake,
Greg Chicares <=
- [lmi-commits] [lmi] valyuta/005 7d6e748 02/17: Improve currency class and unit tests, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 4902da4 01/17: Reinvent currency ab ovo, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 ffa2ce4 09/17: Redesign unit test, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 90d7483 10/17: Improve currency class, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 3d44f42 13/17: Save a sorted list of regressions, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 c8864d3 04/17: Add commented-out relops, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 f3219f8 12/17: Use CURRENCY_UNIT_IS_CENTS appropriately, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 aad51dd 07/17: Inline more, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 b852a68 05/17: Add features, Greg Chicares, 2021/01/16
- [lmi-commits] [lmi] valyuta/005 d69f05c 06/17: Ratify some regression-testing differences, Greg Chicares, 2021/01/16