We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a10a21 commit 42b620dCopy full SHA for 42b620d
2 files changed
CMakeLists.txt
@@ -1,7 +1,7 @@
1
cmake_minimum_required(VERSION 3.10)
2
set(MOORDYN_MAJOR_VERSION 2)
3
-set(MOORDYN_MINOR_VERSION 4)
4
-set(MOORDYN_PATCH_VERSION 1)
+set(MOORDYN_MINOR_VERSION 5)
+set(MOORDYN_PATCH_VERSION 0)
5
set(MOORDYN_VERSION ${MOORDYN_MAJOR_VERSION}.${MOORDYN_MINOR_VERSION})
6
project(Moordyn VERSION ${MOORDYN_VERSION})
7
source/MoorDyn.cpp
@@ -88,7 +88,7 @@ MoorDyn md_singleton = NULL;
88
int DECLDIR
89
MoorDynInit(const double x[], const double xd[], const char* infilename)
90
{
91
- if (disableConsole == 0) {
+ if (!disableConsole) {
92
#ifdef WIN32
93
// ------------ create console window for messages if none already available
94
// ----------------- adapted from Andrew S. Tucker, "Adding Console I/O to a
0 commit comments