receiver bug fix: ctb extractng bits source pointer bug

This commit is contained in:
maliakal_d 2019-05-14 11:43:45 +02:00
parent 0224dccd2e
commit d114f8db90

View File

@ -537,7 +537,7 @@ void DataProcessor::RearrangeDbitData(char* buf) {
}
// copy back to buf and update size
memcpy(source + digOffset, result.data(), result.size() * sizeof(uint64_t));
memcpy(buf + digOffset - (*ctbDbitOffset), result.data(), result.size() * sizeof(uint64_t));
(*((uint32_t*)buf)) = result.size() * sizeof(uint64_t);
}