summaryrefslogtreecommitdiff
path: root/external/lpsolve/lpsolve-ubsan.patch.0
blob: 29e9ad3b3c1a37fe63ff40c40612a55172888c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- lp_pricePSE.c
+++ lp_pricePSE.c
@@ -145,7 +147,7 @@
 
   /* Store the active/current pricing type */
   if(isdual == AUTOMATIC)
-    isdual = (MYBOOL) lp->edgeVector[0];
+    isdual = lp->edgeVector[0] != 0.0;
   else
     lp->edgeVector[0] = isdual;