I believe this is a python3 compatibility hack, so that xrange is used in
python2 and range is used in python3.


On Thu, Jul 18, 2013 at 8:21 AM, Stefan van der Walt <
notifications@github.com> wrote:

> In dipy/reconst/dti.py:
>
> >  import numpy as np
> > -from ..data import get_sphere
> > +
> > +import scipy.optimize as opt
> > +
> > +from dipy.utils.six.moves import xrange
>
> We probably want range instead of xrange here.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/nipy/dipy/pull/54/files#r5270414>
> .
>