Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Doris-Extras committed Sep 21, 2024
1 parent e21f185 commit b202ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/util/algorithm_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class AlgoUtil {
// Then the left step is smaller than actual value.
// This elimation algo will elimate more cache than actual.
int64_t left_step = step_num - used_step;
return left_step / step_num;
return left_step / (step_num * 1.0);
}
};
} // namespace doris

0 comments on commit b202ee4

Please sign in to comment.