Skip to content

Commit

Permalink
Minor correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
popovaan committed Aug 2, 2024
1 parent 1979127 commit ea2091d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/src/block_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class BlockManager {
return m_block_table[seq_id];
}

const bool free_group_partially(SequenceGroup::Ptr sequence_group, size_t num_required_blocks) {
const size_t free_group_partially(SequenceGroup::Ptr sequence_group, size_t num_required_blocks) {
size_t blocks_num = std::ceil(num_required_blocks / sequence_group->get_not_finished_sequences().size());
auto running_sequences = sequence_group->get_not_finished_sequences();
std::set<size_t> blocks_released_indices;
Expand Down

0 comments on commit ea2091d

Please sign in to comment.