pineapple-src/externals/vcpkg/ports/coolprop/fix-builderror.patch

14 lines
421 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
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)
{