Skip to content

Commit

Permalink
Increase version number
Browse files Browse the repository at this point in the history
  • Loading branch information
stfnp committed May 27, 2020
1 parent 01515cb commit 1999f97
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Parameters

set(APPLICATION_NAME "VirtualBow")
set(APPLICATION_VERSION "0.7")
set(APPLICATION_VERSION "0.7.1")
set(APPLICATION_WEBSITE "https://www.virtualbow.org")
set(APPLICATION_MAINTAINER "Stefan Pfeifer")
set(APPLICATION_COPYRIGHT "Copyright (C) 2016-2020 Stefan Pfeifer")
Expand Down
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.7.1

### Fixed
* Missing libraries for VirtualBow Solver and Post on MacOS
* Static/Dynamic buttons in VirtualBow Post not working on MacOS
* Simulation failing with `Error: bad_function_call` for certain lengths of the profile curve

## v0.7

### Added
Expand Down
2 changes: 1 addition & 1 deletion documents/theory-manual/document.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
% \allowdisplaybreaks % Break aligned equations over pages

% Parameters
\newcommand{\version}{0.7}
\newcommand{\version}{0.7.1}
\newcommand{\website}{\href{http://www.virtualbow.org/}{\texttt{\textcolor{blue}{http://www.virtualbow.org/}}}}
\newcommand{\copyrights}{Copyright (C) 2016-2020 Stefan Pfeifer}

Expand Down
2 changes: 1 addition & 1 deletion documents/user-manual/document.tex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
\renewcommand{\labelitemiii}{$\bullet$}

% Parameters
\newcommand{\version}{0.7}
\newcommand{\version}{0.7.1}
\newcommand{\website}{\href{http://www.virtualbow.org/}{\texttt{\textcolor{blue}{http://www.virtualbow.org/}}}}
\newcommand{\copyrights}{Copyright (C) 2016-2020 Stefan Pfeifer}

Expand Down
Binary file modified resources/docs/manual.pdf
Binary file not shown.
8 changes: 8 additions & 0 deletions source/solver/model/input/Conversion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,20 @@ class Conversion
convert_0_6_1_to_0_7_0(obj);

if(obj.at("version") == "0.7")
convert_0_7_0_to_0_7_1(obj);

if(obj.at("version") == "0.7.1")
return;

throw std::runtime_error("Version not recognized.");
}

private:
static void convert_0_7_0_to_0_7_1(json& obj)
{
obj["version"] = "0.7.1";
}

static void convert_0_6_1_to_0_7_0(json& obj)
{
obj["version"] = "0.7";
Expand Down

0 comments on commit 1999f97

Please sign in to comment.