keon / algorithms

Minimal examples of data structures and algorithms in Python
MIT License
23.77k stars 4.59k forks source link

Bug fix: Add None checks for the boundary values. #832

Closed aalekhpatel07 closed 2 years ago

aalekhpatel07 commented 2 years ago

Its bugging me that CI workflow is failing because of a test for this function. This bug fix should bring green ticks back again. ;)

aalekhpatel07 commented 2 years ago

@ankit167 This is a quick bug fix for the failing test that is breaking the workflow. Consider merging this one in and then we can spend some time to discuss about #830 on another day.