Skip to content

Commit fc6bb84

Browse files
committed
fixed criterion.pxd with new signature
Signed-off-by: Gabriel Daiha <gabriel.alves@picpay.com>
1 parent c0c5e6d commit fc6bb84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

econml/tree/_criterion.pxd

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ cdef class Criterion:
7878
cdef void node_value(self, double* dest) nogil
7979
cdef void node_jacobian(self, double* dest) nogil
8080
cdef void node_precond(self, double* dest) nogil
81-
cdef double impurity_improvement(self, double impurity) nogil
81+
cdef double impurity_improvement(self, double impurity_parent,
82+
double impurity_left,
83+
double impurity_right) nogil
8284
cdef double proxy_impurity_improvement(self) nogil
8385
cdef double min_eig_left(self) nogil
8486
cdef double min_eig_right(self) nogil

0 commit comments

Comments
 (0)