Skip to content

Commit 941bd2f

Browse files
committed
[DF] Fix contiguousness check, take #2
1 parent b44e80b commit 941bd2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/dataframe/inc/ROOT/RDF/RColumnValue.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public:
187187
// We can decide since the array is long enough
188188
fStorageType = EStorageType::kContiguous;
189189
for (auto i = 0u; i < arrSize - 1; ++i) {
190-
if ((char *)&readerArray[i + 1] - (char *)&readerArray[i] != sizeof(T)) {
190+
if ((char *)&readerArray[i + 1] - (char *)&readerArray[i] != sizeof(typename U::value_type)) {
191191
fStorageType = EStorageType::kSparse;
192192
break;
193193
}

0 commit comments

Comments
 (0)