On Wed, Apr 17, 2019 at 07:14:05PM +0800, Bin.Cheng wrote: > > As > > #define INFTY 10000000 > > what is the reason to keep the previous condition as well? > > I mean, if cost1.cost == INFTY or cost2.cost == INFTY, > > cost1.cost + cost2.cost >= INFTY too. > > Unless costs can go negative. > It's a bit complicated, but in general, costs can go negative.
Ok, no objections from me then (but as I don't know anything about it, not an ack either; you are ivopts maintainer, so you don't need one). Jakub