From 2549c7040d3e15dd18bbf6353149800acd07c7de Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 21 Jul 2020 21:22:03 -0500 Subject: [PATCH] Remove -dev tag from version number --- docs/source/conf.py | 2 +- include/openmc/constants.h | 14 +++++++------- openmc/__init__.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 83570574dd6..dd37f72599a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -81,7 +81,7 @@ # The short X.Y version. version = "0.12" # The full version, including alpha/beta/rc tags. -release = "0.12.0-dev" +release = "0.12.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/include/openmc/constants.h b/include/openmc/constants.h index 486ba5f18ec..2da096c612f 100644 --- a/include/openmc/constants.h +++ b/include/openmc/constants.h @@ -22,7 +22,7 @@ using double_4dvec = std::vector>>>; constexpr int VERSION_MAJOR {0}; constexpr int VERSION_MINOR {12}; constexpr int VERSION_RELEASE {0}; -constexpr bool VERSION_DEV {true}; +constexpr bool VERSION_DEV {false}; constexpr std::array VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELEASE}; // HDF5 data format @@ -256,7 +256,7 @@ enum class URRTableParam { ELASTIC, FISSION, N_GAMMA, - HEATING + HEATING }; // Maximum number of partial fission reactions @@ -328,7 +328,7 @@ enum class TallyEvent { LATTICE, KILL, SCATTER, - ABSORB + ABSORB }; // Tally score type -- if you change these, make sure you also update the @@ -359,10 +359,10 @@ enum TallyScore { // Global tally parameters constexpr int N_GLOBAL_TALLIES {4}; enum class GlobalTally { - K_COLLISION, - K_ABSORPTION, - K_TRACKLENGTH, - LEAKAGE + K_COLLISION, + K_ABSORPTION, + K_TRACKLENGTH, + LEAKAGE }; // Miscellaneous diff --git a/openmc/__init__.py b/openmc/__init__.py index 6af62942270..13edd1c767a 100644 --- a/openmc/__init__.py +++ b/openmc/__init__.py @@ -34,4 +34,4 @@ # Import a few convencience functions that used to be here from openmc.model import rectangular_prism, hexagonal_prism -__version__ = '0.12.0-dev' +__version__ = '0.12.0'