vcpkg/ports/coolprop/fix-builderror.patch

14 lines
421 B
Diff
Raw Normal View History

2020-04-09 16:04:02 +08:00
diff --git a/src/ODEIntegrators.cpp b/src/ODEIntegrators.cpp
index 4152f01..e5986ca 100644
2020-04-09 16:04:02 +08:00
--- 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)
{