From 4ee495b0727ed40ec5923fe0909b9fda7c119263 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 3 Jul 2023 16:32:35 -0400 Subject: Bugfixes --- include/shard/PGM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/shard/PGM.h b/include/shard/PGM.h index f3f5106..73688ae 100644 --- a/include/shard/PGM.h +++ b/include/shard/PGM.h @@ -318,7 +318,7 @@ public: ptr++; } - while (ptr->rec.key <= p->upper_bound && ptr < ptr + s->stop_idx) { + while (ptr->rec.key <= p->upper_bound && ptr < ts->m_data + s->stop_idx) { records.emplace_back(*ptr); ptr++; } -- cgit v1.2.3