-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the kd_tree
need SIZE
and MAX_LEVEL
?
#21
Comments
Not as long as we can not use const generics to calculate the size of arrays at compile time
We are not in no_std anymore, should we make it an attribute because we cant allocate arrays from attributes
Yes |
@wucke13 I am fairly certain, we could get around |
That sounds good! |
With this only |
For a given |
SIZE
is rather an attribute ofTree
?MAX_LEVEL
is an attribute ofTree
?static_assertions
to ensure that they are not set wrongly (e.g.SIZE=1024
,MAX_LEVEL=9
)?The text was updated successfully, but these errors were encountered: