summaryrefslogtreecommitdiff
path: root/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h')
-rw-r--r--math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h b/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
new file mode 100644
index 000000000000..0c6db63e748e
--- /dev/null
+++ b/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
@@ -0,0 +1,13 @@
+- see https://github.com/coin-or/CHiPPS-ALPS/issues/26
+
+--- Alps/src/AlpsSearchStrategyBase.h.orig 2021-05-03 02:01:12 UTC
++++ Alps/src/AlpsSearchStrategyBase.h
+@@ -98,7 +98,7 @@ class AlpsSearchStrategy (public)
+ int getType(){ return type_; }
+
+ /** Set type of strategy */
+- void setType(int t) { type_ = t; }
++ void setType(int t) { type_ = (AlpsSearchType)t; }
+ };
+
+ //#############################################################################