From: Lukas Korous Date: Fri, 13 Feb 2015 13:39:10 +0000 (+0100) Subject: Add proper data types to sparse_direct. X-Git-Tag: v8.3.0-rc1~470^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c364d20115d4027ecdfb871e8e757f44ab90874;p=dealii.git Add proper data types to sparse_direct. --- diff --git a/include/deal.II/lac/sparse_direct.h b/include/deal.II/lac/sparse_direct.h index f0126fec85..e057bcddd5 100644 --- a/include/deal.II/lac/sparse_direct.h +++ b/include/deal.II/lac/sparse_direct.h @@ -26,6 +26,12 @@ #include #include +#ifdef DEAL_II_WITH_UMFPACK +# include +#endif +#ifndef SuiteSparse_long +#define SuiteSparse_long long int +#endif DEAL_II_NAMESPACE_OPEN @@ -291,9 +297,11 @@ private: /** * The arrays in which we store the data for the solver. + * SuiteSparse_long has to be used here for Windows 64 build, + * if we used only long int, compilation would fail. */ - std::vector Ap; - std::vector Ai; + std::vector Ap; + std::vector Ai; std::vector Ax; /**