Open sbinet opened 7 years ago
I agree it would definitively simplify the code, but I think using A,B and C makes it more user friendly.
Do you think I should change it anyways? @sbinet
I am agnostic for the moment. I'll play with the proposed change during the week-end and see whether I like what I see :)
Sounds good :)
Paraphrasing @vladimir-ch:
Consider replacing
A, B, C *Point
: https://github.com/go-hep/hep/blob/b0c08641fd2eed633fca25b79dd60b72c56bc828/fastjet/internal/delaunay/triangle.go#L19with a simple field
Points [3]*Point
. This would simplify the code at various places. For example in findNearest.