benchaplin / hungarian-algorithm

Python 3 implementation of the Hungarian Algorithm
MIT License
70 stars 12 forks source link

Remove conflict between NoneType and int #1

Closed ChakshuGupta13 closed 4 years ago

ChakshuGupta13 commented 4 years ago

'-' operator creates error if alpha remain None after for loop

benchaplin commented 4 years ago

Thanks for the fix. Did you encounter an error here? I was under the impression that alpha should always be set, so I'd be interested to see your input.

ChakshuGupta13 commented 4 years ago

Thanks for the fix. Did you encounter an error here? I was under the impression that alpha should always be set, so I'd be interested to see your input.

Hi @benchaplin I was working on the live feed of the data during which I encountered this error, therefore, I cannot provide you that input over which this error occurred. Still thanks for your comment and work here. It really made my work easy.