Skip to content

Commit b4cd21d

Browse files
committed
Remove check_restrictions=False in hillclimber strategy
1 parent 2451e2d commit b4cd21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/strategies/hillclimbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def base_hillclimb(base_sol: tuple, neighbor_method: str, max_fevals: int, searc
8080
child[index] = val
8181

8282
# get score for this position
83-
score = cost_func(child, check_restrictions=False)
83+
score = cost_func(child)
8484

8585
# generalize this to other tuning objectives
8686
if score < best_score:

0 commit comments

Comments
 (0)