Skip to content
Snippets Groups Projects
Commit 58d92020 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[MaL] fixed includes

parent d989aa1d
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#include <sundials/sundials_dense.h> /* definitions DlsMat DENSE_ELEM */ #include <sundials/sundials_dense.h> /* definitions DlsMat DENSE_ELEM */
#include <sundials/sundials_types.h> /* definition of type realtype */ #include <sundials/sundials_types.h> /* definition of type realtype */
#include "BaseLib/ConfigTree.h"
void check_error(std::string const& f_name, int const error_flag) void check_error(std::string const& f_name, int const error_flag)
{ {
if (error_flag != CV_SUCCESS) if (error_flag != CV_SUCCESS)
......
...@@ -10,11 +10,16 @@ ...@@ -10,11 +10,16 @@
#ifndef MATHLIB_CVODESOLVER_H #ifndef MATHLIB_CVODESOLVER_H
#define MATHLIB_CVODESOLVER_H #define MATHLIB_CVODESOLVER_H
#include "BaseLib/ConfigTree.h" #include <memory>
#include "ODESolverTypes.h" #include "ODESolverTypes.h"
#include "FunctionHandles.h" #include "FunctionHandles.h"
namespace BaseLib
{
class ConfigTree;
}
namespace MathLib namespace MathLib
{ {
class CVodeSolverImpl; class CVodeSolverImpl;
......
...@@ -12,14 +12,13 @@ ...@@ -12,14 +12,13 @@
#include <memory> #include <memory>
#include "BaseLib/ConfigTree.h"
#include "ODESolver.h"
#include "FunctionHandles.h" #include "FunctionHandles.h"
#include "ODESolver.h"
#ifdef CVODE_FOUND namespace BaseLib
#include "CVodeSolver.h" {
#endif class ConfigTree;
}
namespace MathLib namespace MathLib
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment