Skip to content

Commit

Permalink
- removed wrong enum forward-declaration
Browse files Browse the repository at this point in the history
- fix for new sundials-version in cpp-runtime
  • Loading branch information
Marcus Walther committed Aug 12, 2015
1 parent 61b3613 commit b5906fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions SimulationRuntime/cpp/Include/Core/Utils/extension/logger.hpp
Expand Up @@ -8,10 +8,6 @@
#ifndef LOGGER_HPP_
#define LOGGER_HPP_


enum LogCategory;
enum LogLevel;

class BOOST_EXTENSION_LOGGER_DECL Logger
{
public:
Expand Down
2 changes: 2 additions & 0 deletions SimulationRuntime/cpp/Include/FMU/FMUGlobalSettings.h
Expand Up @@ -51,5 +51,7 @@ class FMUGlobalSettings : public IGlobalSettings
virtual string getRuntimeLibrarypath() { return "";}
virtual void setAlarmTime(unsigned int) {}
virtual unsigned int getAlarmTime() {return 0;}
virtual void setNonLinearSolverContinueOnError(bool){};
virtual bool getNonLinearSolverContinueOnError(){ return false; };
private:
};
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Solver/Kinsol/KinsolLapack.h
Expand Up @@ -8,7 +8,7 @@ int KINLapackCompletePivoting(void *kinmem, int N);
static int KINLapackCompletePivotingInit(KINMem kin_mem);
static int KINLapackCompletePivotingSetup(KINMem kin_mem);
#if SUNDIALS_MAJOR_VERSION > 2 || (SUNDIALS_MAJOR_VERSION == 2 && SUNDIALS_MINOR_VERSION > 5)
static int KINLapackCompletePivotingSolve(KINMem kin_mem, N_Vector x, N_Vector b, realtype *sJpnorm, realtype *sFdotJp*/);
static int KINLapackCompletePivotingSolve(KINMem kin_mem, N_Vector x, N_Vector b, realtype *sJpnorm, realtype *sFdotJp*);
#else
static int KINLapackCompletePivotingSolve(KINMem kin_mem, N_Vector x, N_Vector b, realtype *res_norm);
#endif
Expand Down

0 comments on commit b5906fa

Please sign in to comment.