Skip to content

Commit 21e013b

Browse files
committed
update
1 parent c05577a commit 21e013b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auto_scheduler/search_policy/sketch_policy_rules.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class PopulationMutationRule : public PopulationGenerationRule {
188188
#define DEFINE_MUTATE_POPULATION_RULE(rule_name) \
189189
class rule_name : public PopulationMutationRule { \
190190
public: \
191-
rule_name(double weight) : PopulationMutationRule(weight) {} \
191+
explicit rule_name(double weight) : PopulationMutationRule(weight) {} \
192192
ResultKind Apply(SketchPolicyNode* policy, State* state) const final; \
193193
};
194194

0 commit comments

Comments
 (0)