aboutsummaryrefslogtreecommitdiff
path: root/ports/coolprop/fix-builderror.patch
blob: 0c2f9c4ca2428fb773aeefacea958c5659bec95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/ODEIntegrators.cpp b/src/ODEIntegrators.cpp
index 4152f01..e5986ca 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)
 {