https://github.com/stan-dev/stan
Raw File
Tip revision: 3c51ea169f426cba92b069d2309051e84969c3bb authored by Nicusor Serban on 19 January 2021, 11:30:46 UTC
release/v2.26.0-rc1: updating version numbers
Tip revision: 3c51ea1
version.hpp
#ifndef STAN_VERSION_HPP
#define STAN_VERSION_HPP

#include <string>

#ifndef STAN_STRING_EXPAND
#define STAN_STRING_EXPAND(s) #s
#endif

#ifndef STAN_STRING
#define STAN_STRING(s) STAN_STRING_EXPAND(s)
#endif

#define STAN_MAJOR 2
#define STAN_MINOR 26
#define STAN_PATCH 0

namespace stan {

/** Major version number for Stan package. */
const std::string MAJOR_VERSION = STAN_STRING(STAN_MAJOR);

/** Minor version number for Stan package. */
const std::string MINOR_VERSION = STAN_STRING(STAN_MINOR);

/** Patch version for Stan package. */
const std::string PATCH_VERSION = STAN_STRING(STAN_PATCH);

}  // namespace stan

#endif
back to top