Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve fix panicking on incorrect values of longest path
The unchecked subtraction was a runtime error. It should only happen for one value of longest path: zero. It's better to panic on longest path less than zero.
- Loading branch information