Skip to content

Commit

Permalink
Fixing probability comment (apache#16850)
Browse files Browse the repository at this point in the history
  • Loading branch information
thaisacs authored Apr 7, 2024
1 parent a7be540 commit 97d7a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto_scheduler/search_policy/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ inline Array<State> RandomSampleStates(const Array<State>& in_states, std::mt199
return out_states;
}

/*! \brief Compute prefix-sum probabiilty based on the given weights */
/*! \brief Compute prefix-sum probability based on the given weights */
inline void ComputePrefixSumProb(const std::vector<float>& weights,
std::vector<double>* prefix_sum_probs) {
// Compute selection probabilities.
Expand Down

0 comments on commit 97d7a35

Please sign in to comment.