-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MAINT Replace double with float64_t inside tree submodule #27539
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
Conversation
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
lmk if you prefer me to do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
About intp_t
, I think it would require a bit more careful reviewing. So better do it in a follow-up PR.
cdef float64_t left_child_min | ||
cdef float64_t left_child_max | ||
cdef float64_t right_child_min | ||
cdef float64_t right_child_max |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Those were not defined before. I looked into _tree.cpp and obviously Cython figures out to define them as double variables.
double
with float64_t
inside tree/ submodule…rn#27539) Signed-off-by: Adam Li <adam2392@gmail.com>
…rn#27539) Signed-off-by: Adam Li <adam2392@gmail.com>
Reference Issues/PRs
Follow-up to #27352 (comment)
Related to: #25572
What does this implement/fix? Explain your changes.
Replaces
double
withfloat64_t
inside tree submodule.I can also replace
int
withintp_t
in the same PR if desirable.Any other comments?
n/a