Skip to content

Commit 3f18767

Browse files
committed
Fix typo
1 parent 1dee8f1 commit 3f18767

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/src/arrow/util/bitmap_ops.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void MapBitmapUnary(const uint8_t* data, int64_t offset, int64_t length,
235235
for (int64_t i = 0; i < num_bytes - 1; i++) {
236236
dest[i] = static_cast<uint8_t>(op(data[i]));
237237
}
238-
last_data = ~data[num_bytes - 1];
238+
last_data = op(data[num_bytes - 1]);
239239
}
240240

241241
// Set last byte

0 commit comments

Comments
 (0)