Closed igorcantele closed 2 years ago
When a Branch contains only 1 point, branch.versor results in [NaN, NaN, NaN] (because it is [0,0,0]/0). This caused max_displacement to return NaN.
Branch
branch.versor
[NaN, NaN, NaN]
max_displacement
NaN
(e.g. "closes #1, #2, #3")
Describe the work done
When a
Branch
contains only 1 point,branch.versor
results in[NaN, NaN, NaN]
(because it is [0,0,0]/0).This caused
max_displacement
to returnNaN
.List which issues this resolves:
627
(e.g. "closes #1, #2, #3")
Tasks