[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5dec884 01/14: Include appropriate headers
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5dec884 01/14: Include appropriate headers |
Date: |
Sat, 29 Aug 2020 19:34:47 -0400 (EDT) |
branch: master
commit 5dec8840a1cce7d44e07a3645b2a57a69bc42bbf
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Include appropriate headers
Added <sstream>. Stated reasons for including some other headers.
Incidentally removed a stray empty line.
---
main_cli.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/main_cli.cpp b/main_cli.cpp
index 35f5442..9ade5ee 100644
--- a/main_cli.cpp
+++ b/main_cli.cpp
@@ -51,13 +51,14 @@
#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/path.hpp>
-#include <algorithm>
-#include <cmath>
+#include <algorithm> // for_each()
+#include <cmath> // fabs()
#include <cstdio> // printf()
#include <functional> // bind()
#include <ios>
#include <iostream>
#include <ostream>
+#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
@@ -103,7 +104,6 @@ void self_test()
}
IP["SolveToWhich"] = "Maturity";
-
IP["SolveType"] = "Specified amount";
expected_value = 1879139.14;
z("CLI_selftest", IP);
- [lmi-commits] [lmi] master updated (c463357 -> 520bb97), Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 4c54e90 02/14: Self test: explicitly specify product, Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master c2f6854 03/14: Self test: print more timings, Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master ccb70ce 04/14: Self test: measure speed for 'finra' as well as 'ill_reg', Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master f6dfcf1 05/14: Filter out self-test timings, Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 19be5c7 07/14: Don't initialize what's already been initialized, Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 5dec884 01/14: Include appropriate headers,
Greg Chicares <=
- [lmi-commits] [lmi] master fa15960 06/14: Don't touch a ledger object before calling its Init(), Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 520bb97 14/14: Call ledger Init() less repeatedly [340], Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 74927c6 13/14: Eradicate 'EePmt' and 'ErPmt', Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master c017212 08/14: Make 'daily_interest_accounting' harder to overlook, Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 80f3ab4 09/14: Don't touch a ledger object before calling its Init() (bis), Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 4a28bc2 10/14: Replace 'EePmt' (antediluvian), Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 9ba754c 11/14: Replace 'EePmt' and 'ErPmt' (production), Greg Chicares, 2020/08/29
- [lmi-commits] [lmi] master 5827c93 12/14: No longer assign to 'EePmt' and 'ErPmt', Greg Chicares, 2020/08/29