lmi-commits
[Top][All Lists]
Advanced

[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);



reply via email to

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