minor cleanup
This commit is contained in:
parent
9de14b2b6a
commit
56548239eb
1 changed files with 8 additions and 3 deletions
|
|
@ -13,6 +13,8 @@
|
|||
#ifndef CT_CVODESWRAPPER_H
|
||||
#define CT_CVODESWRAPPER_H
|
||||
|
||||
#ifdef HAS_SUNDIALS
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning(disable:4786)
|
||||
#pragma warning(disable:4503)
|
||||
|
|
@ -23,10 +25,11 @@
|
|||
#include "ctexceptions.h"
|
||||
#include "ct_defs.h"
|
||||
|
||||
//#include <nvector.h>
|
||||
//#include <nvector_serial.h>
|
||||
|
||||
#ifdef SUNDIALS_VERSION_22
|
||||
#include <nvector_serial.h>
|
||||
#else
|
||||
#include <sundials/sundials_nvector.h>
|
||||
#endif
|
||||
|
||||
namespace Cantera {
|
||||
|
||||
|
|
@ -106,4 +109,6 @@ namespace Cantera {
|
|||
|
||||
} // namespace
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue