Skip to content

Commit

Permalink
release/v2.22.0: updating version numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
serban-nicusor-toptal committed Jan 24, 2020
1 parent c0ff255 commit e5da9ee
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ Describe what you expect the output to be. Knowing the correct behavior is also
Provide any additional information here.

#### Current Version:
v2.21.0
v2.22.0
11 changes: 11 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ Note: these are the release notes for the stan-dev/stan repository.
Further changes may arise at the interface level (stan-dev/{rstan,
pystan, cmdstan}) and math library level (stan-dev/math).

v.2.22.0 (24 January 2020)
======================================================================

New Features
------------

- validate_dims in stan::io::var_context vas made a virtual function which allows its implementation for JSON data which is needed to accepts arrays where any dimension is size 0
- replaced Eigen vectors of strings with std::vector<std::string>
- replaced stan::math::domain_error with throw_domain_error
- added const noexcept accessors to the stepsize adaptation class which allows developers to query the adaptation parameters in contexts where it's natural to have a const sampler (logging, serialization, ...)

v.2.21.0 (18 October 2019)
======================================================================

Expand Down
2 changes: 1 addition & 1 deletion src/doxygen/doxygen.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Stan"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.21.0
PROJECT_NUMBER = 2.22.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion src/stan/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif

#define STAN_MAJOR 2
#define STAN_MINOR 21
#define STAN_MINOR 22
#define STAN_PATCH 0

namespace stan {
Expand Down
4 changes: 2 additions & 2 deletions src/test/unit/version_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

TEST(Stan, macro) {
EXPECT_EQ(2, STAN_MAJOR);
EXPECT_EQ(21, STAN_MINOR);
EXPECT_EQ(22, STAN_MINOR);
EXPECT_EQ(0, STAN_PATCH);
}

TEST(Stan, version) {
EXPECT_EQ("2", stan::MAJOR_VERSION);
EXPECT_EQ("21", stan::MINOR_VERSION);
EXPECT_EQ("22", stan::MINOR_VERSION);
EXPECT_EQ("0", stan::PATCH_VERSION);
}

0 comments on commit e5da9ee

Please sign in to comment.