Commit 4a15a669 by Tobias Fuchs

containers_cpp: fixed cpplint warnings

parent 9e2febab
...@@ -116,8 +116,8 @@ const ChunkDescriptor<RAI> ...@@ -116,8 +116,8 @@ const ChunkDescriptor<RAI>
if (index <= bigger_chunk_count_) { if (index <= bigger_chunk_count_) {
prec_elements_count = index * (standard_chunk_size_ + 1); prec_elements_count = index * (standard_chunk_size_ + 1);
} else { } else {
prec_elements_count = prec_elements_count =
(standard_chunk_size_ + 1) * bigger_chunk_count_ + (standard_chunk_size_ + 1) * bigger_chunk_count_ +
(standard_chunk_size_ * (index - bigger_chunk_count_)); (standard_chunk_size_ * (index - bigger_chunk_count_));
} }
size_t cur_elements_count = (index < bigger_chunk_count_) size_t cur_elements_count = (index < bigger_chunk_count_)
......
...@@ -133,4 +133,5 @@ void PartitionerTest::TestLargeRange() { ...@@ -133,4 +133,5 @@ void PartitionerTest::TestLargeRange() {
last_value_prev = last_value; last_value_prev = last_value;
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment