Skip to content

Commit

Permalink
update candidate_search
Browse files Browse the repository at this point in the history
  • Loading branch information
RC-88 committed Jul 16, 2023
1 parent 7f2a3d1 commit 1e6700a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/candidate_search.R
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ candidate_search <- function(
# loop means there is an improvement (iteration > 0)
global_best_s <- best_s

if(i > 0)
global_best_s_features <- c(global_best_s_features, best_feature)
# Update feature set
if(i > 0) global_best_s_features <- c(global_best_s_features, best_feature)

verbose("Current feature set: ", global_best_s_features, "\n")

Expand Down

0 comments on commit 1e6700a

Please sign in to comment.