Skip to content

Commit

Permalink
pre-release/v2.30.0: updating version numbers (#3132)
Browse files Browse the repository at this point in the history
  • Loading branch information
serban-nicusor-toptal authored Jun 21, 2022
1 parent 86f018b commit a685496
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 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.29.2
v2.30.0
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.29.2
PROJECT_NUMBER = 2.30.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
4 changes: 2 additions & 2 deletions src/stan/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#endif

#define STAN_MAJOR 2
#define STAN_MINOR 29
#define STAN_PATCH 2
#define STAN_MINOR 30
#define STAN_PATCH 0

namespace stan {

Expand Down
8 changes: 4 additions & 4 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(29, STAN_MINOR);
EXPECT_EQ(2, STAN_PATCH);
EXPECT_EQ(30, STAN_MINOR);
EXPECT_EQ(0, STAN_PATCH);
}

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

0 comments on commit a685496

Please sign in to comment.