Skip to content

Commit

Permalink
Cleanup includes
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 13, 2023
1 parent c94200f commit a59b9fc
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 19 deletions.
2 changes: 0 additions & 2 deletions include/parpeamici/hierarchicalOptimization.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

#include <gsl/gsl-lite.hpp>

#include <cmath>
#include <memory>
#include <numeric>


namespace parpe {
Expand Down
1 change: 0 additions & 1 deletion include/parpeamici/multiConditionProblem.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <gsl/gsl-lite.hpp>

#include <memory>
#include <cstdlib>

/** @file multiConditionProblem.h
* Interfaces between AMICI model and parPE optimization problem */
Expand Down
1 change: 0 additions & 1 deletion include/parpecommon/hdf5Misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <exception>
#include <string>
#include <mutex>
#include <cstdarg>

namespace parpe {

Expand Down
3 changes: 0 additions & 3 deletions include/parpecommon/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
#include <parpecommon/parpeConfig.h>

#include <chrono>
#include <cstdio>
#include <memory>
#include <ostream>
#include <stdlib.h>
#include <vector>

#include <gsl/gsl-lite.hpp>
Expand Down
1 change: 0 additions & 1 deletion include/parpecommon/model.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <parpecommon/functions.h>

#include <vector>
#include <memory>

namespace parpe {

Expand Down
1 change: 0 additions & 1 deletion include/parpeoptimization/localOptimizationCeres.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <parpeoptimization/optimizer.h>

#include <string>

namespace parpe {

Expand Down
2 changes: 0 additions & 2 deletions include/parpeoptimization/localOptimizationIpoptTNLP.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#include <IpIpoptApplication.hpp>
#endif

#include <cmath>
#include <memory>
#include <mutex>

#include <parpecommon/misc.h>
Expand Down
1 change: 0 additions & 1 deletion include/parpeoptimization/multiStartOptimization.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <parpeoptimization/optimizationProblem.h>

#include <vector>
#include <memory>

namespace parpe {
Expand Down
5 changes: 2 additions & 3 deletions src/parpeamici/amiciMisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
#include <amici/logging.h>
#include <parpecommon/logging.h>

#include <memory>

namespace parpe {

using amici::ExpData;
using amici::Model;
using amici::ReturnData;
using amici::Solver;

std::unique_ptr<ReturnData> run_amici_simulation(
amici::Solver &solver,
Expand Down
4 changes: 0 additions & 4 deletions src/parpecommon/misc.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
#include <parpecommon/misc.h>
#include <parpecommon/logging.h>

#include <cassert>
#include <cerrno>
#include <execinfo.h>
#include <cmath>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <sys/types.h>
#include <ctime>
#include <unistd.h>
Expand Down

0 comments on commit a59b9fc

Please sign in to comment.