Division by 0
EmmaRenauld opened this issue · 0 comments
EmmaRenauld commented
In the pytest of scil_dti_metrics:
RuntimeWarning: divide by zero encountered in log
D[..., 6] = -np.log(b0)
This originates from dipy/reconst/dti.py:2120, which is in method lower_triangular, which is called through our own line 215: tenfit = tenmodel.fit(data, mask)