We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d00eb5 commit 2abc6f4Copy full SHA for 2abc6f4
Framework/AnalysisSupport/src/TTreePlugin.cxx
@@ -702,7 +702,7 @@ arrow::Result<arrow::RecordBatchGenerator> TTreeFileFormat::ScanBatchesAsync(
702
if ((datasetField->type() == arrow::boolean())) {
703
valueOp.kind = ReadOpKind::Booleans;
704
valueOp.listSize = 1;
705
- valueOp.targetBuffer = treeFragment->GetPlaceholderForOp((valueOp.rootBranchEntries) / 8 + 1);
+ valueOp.targetBuffer = treeFragment->GetPlaceholderForOp((valueOp.rootBranchEntries + 7) / 8);
706
} else if (listType && datasetField->type()->field(0)->type() == arrow::boolean()) {
707
valueOp.typeSize = physicalField->type()->field(0)->type()->byte_width();
708
valueOp.listSize = listType->list_size();
0 commit comments