flowfunc/Transfer uses == instead of equals(..)
tim-hoffman opened this issue · comments
Timothy Hoffman commented
commit 19cb6fb fixed the same issue in flowfunc/Kill but use of == remains in the Transfer class.
The same usage also exists in flowfunc/Gen but shouldn't cause any issues there if IFDSTabulationProblem#zeroValue() is always used to obtain the unique instance of zero.
Eric Bodden commented
Thanks! Would you like to provide a pull request for this? I think then we should fix it in Gen, too. (it should not hurt doing so)
Timothy Hoffman commented
I performed the replacement of == with equals(..) in both Transfer and Gen and created a pull request.