poolio / bilateral_solver

Python code for the fast bilateral solver
MIT License
231 stars 56 forks source link

Change all xrange to range #6

Open joelsa opened 4 years ago

joelsa commented 4 years ago

Python 2 has met end of life and migration to Python 3 is highly recommend. In Python 3, there is no xrange, but the range function behaves like the old xrange in Python 2. Replacing all xrange with range was enough to get this running with an Ipython 3 kernel.