Skip to content

Commit 0e5f0f1

Browse files
refactor
1 parent 61f0004 commit 0e5f0f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/term.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Term
8282
static bool equals_not_comparing_given_terms(const Term &p1, const Term &p2);
8383
static bool equals_given_terms(const Term &p1, const Term &p2);
8484
void estimate_split_point(const MatrixXd &X, const VectorXd &negative_gradient, const VectorXd &sample_weight, size_t bins, double v, size_t min_observations_in_split);
85-
size_t get_interaction_level(size_t previous_int_level = 0);
85+
size_t get_interaction_level();
8686
VectorXd calculate_without_interactions(const VectorXd &x);
8787
void calculate_rows_to_zero_out_and_not_due_to_given_terms(const MatrixXd &X);
8888
bool get_can_be_used_as_a_given_term();
@@ -663,7 +663,7 @@ VectorXd Term::calculate_contribution_to_linear_predictor(const MatrixXd &X)
663663
return values.array() * coefficient;
664664
}
665665

666-
size_t Term::get_interaction_level(size_t previous_int_level)
666+
size_t Term::get_interaction_level()
667667
{
668668
return given_terms.size();
669669
}

0 commit comments

Comments
 (0)