Closed eliascarv closed 1 year ago
Dear maintainers, appreciate if you can review and merge this small non-breaking generalization, it is holding back some advancements downstream. It would be great if you could release a patch as well. Thanks in advance.
@KristofferC can you please take a look at this PR?
We are suffering from the issue and the proposed change seems to address it nicely for other types of StaticVector
.
This PR adds a constructor to
HyperSphere
that accepts anAbstractVector
. This constructor is needed because of this function:The type parameter
V
ofBallTree
accepts any subtype ofAbstractVector
, but in the current code,HyperSphere
does not have a constructor that acceptsAbstractVector
s.