Fix regression in compatibility with Sundials 2.4.0

Regression was introduced in 9c50f752 when adding compatibility with
Sundials 3.x.

Fixes #613
This commit is contained in:
Ray Speth 2019-03-14 13:35:22 -04:00
parent 6c0866efb8
commit 5e226535de

View file

@ -41,8 +41,10 @@ struct BandMatrix::PivData {
vector_int data;
#elif CT_SUNDIALS_VERSION >= 30
std::vector<sunindextype> data;
#else
#elif CT_SUNDIALS_VERSION >= 25
std::vector<long int> data;
#else
std::vector<int> data;
#endif
};