Skip to content

Commit

Permalink
fix: build break under debug mode (#38790)
Browse files Browse the repository at this point in the history
See #38435

Signed-off-by: Ted Xu <[email protected]>
  • Loading branch information
tedxu authored Jan 7, 2025
1 parent 182cac0 commit 3dc9515
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/src/segcore/SegmentSealedImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ namespace milvus::segcore {
case DataType::INT64: { \
auto col = \
std::dynamic_pointer_cast<SingleChunkColumn>(column); \
auto pks = reinterpret_cast<const int64_t*>(col->Data(0)); \
for (int i = 1; i < col->NumRows(); ++i) { \
assert(pks[i - 1] <= pks[i] && \
"INT64 Column is not ordered!"); \
Expand Down

0 comments on commit 3dc9515

Please sign in to comment.