Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RF: Convert nan values in bvectors to 0's
This get's rid of warnings of the following type that currently show up in our tests: ./Users/arokem/source/dipy/dipy/core/gradients.py:132: RuntimeWarning: invalid value encountered in less_equal bvecs_close_to_1 = abs(vector_norm(bvecs) - 1) <= atol
- Loading branch information