summaryrefslogtreecommitdiff
path: root/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-05-02 23:51:44 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-05-03 00:06:28 -0700
commitb01be4b488b4b4a0cf39acffd66742ef38898a6a (patch)
treed6e2de93bfa783cb8829a06bcc038b4d99d009aa /math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
parentmath/cgl: Add missing dependencies (diff)
New port: math/alps: Abstract Library for Parallel Search (ALPS)
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; }
+ };
+
+ //#############################################################################