Stan  2.10.0
probability, sampling & optimization
version.hpp
Go to the documentation of this file.
1 #ifndef STAN_VERSION_HPP
2 #define STAN_VERSION_HPP
3 
4 #include <string>
5 
6 #ifndef STAN_STRING_EXPAND
7 #define STAN_STRING_EXPAND(s) #s
8 #endif
9 
10 #ifndef STAN_STRING
11 #define STAN_STRING(s) STAN_STRING_EXPAND(s)
12 #endif
13 
14 #define STAN_MAJOR 2
15 #define STAN_MINOR 10
16 #define STAN_PATCH 0
17 
18 namespace stan {
19 
21  const std::string MAJOR_VERSION = STAN_STRING(STAN_MAJOR);
22 
24  const std::string MINOR_VERSION = STAN_STRING(STAN_MINOR);
25 
27  const std::string PATCH_VERSION = STAN_STRING(STAN_PATCH);
28 
29 }
30 
31 #endif
Probability, optimization and sampling library.
const std::string MINOR_VERSION
Minor version number for Stan package.
Definition: version.hpp:24
#define STAN_MAJOR
Definition: version.hpp:14
#define STAN_PATCH
Definition: version.hpp:16
#define STAN_MINOR
Definition: version.hpp:15
const std::string PATCH_VERSION
Patch version for Stan package.
Definition: version.hpp:27
const std::string MAJOR_VERSION
Major version number for Stan package.
Definition: version.hpp:21
#define STAN_STRING(s)
Definition: version.hpp:11

     [ Stan Home Page ] © 2011–2016, Stan Development Team.