-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hey, i would like to change the ValueType from f32 to f64. Is there any way to do it from myself or you have to implement new stuffs ?
I saw in your code source that you defined in this way :
///! For now we only support std::$t using this macro.
/// We will generalize ValueType in future.
macro_rules! def_value_type {
($t: tt) => {
pub type ValueType = $t;
pub const VALUE_TYPE_MAX: ValueType = std::$t::MAX;
pub const VALUE_TYPE_MIN: ValueType = std::$t::MIN;
pub const VALUE_TYPE_UNKNOWN: ValueType = VALUE_TYPE_MIN;
};
}
// use continous variables for decision tree
def_value_type!(f32);
Can you bind the ValueType to an f64 behind the feature flag ?
Thanks,
Alexis D.
Metadata
Metadata
Assignees
Labels
No labels