summaryrefslogtreecommitdiff
path: root/math/alps/files/patch-Alps_src_AlpsSearchStrategyBase.h
blob: 0c6db63e748e4ff8c9cc535b04bdae766975e99d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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; }
 };
 
 //#############################################################################