vcpkg/ports/coolprop/fix-builderror.patch

14 lines
421 B
Diff
Raw Normal View History

2020-04-09 08:04:02 +00:00
diff --git a/src/ODEIntegrators.cpp b/src/ODEIntegrators.cpp
index ce86cf6..681db13 100644
--- a/src/ODEIntegrators.cpp
+++ b/src/ODEIntegrators.cpp
@@ -4,6 +4,8 @@
#include "CPstrings.h"
#include "Exceptions.h"
#include <algorithm>
+#undef max
+#undef min
bool ODEIntegrators::AdaptiveRK54(AbstractODEIntegrator &ode, double tstart, double tend, double hmin, double hmax, double eps_allowed, double step_relax)
{