From 2724b98da8699af150e850e66e92e0a832cd2e29 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Sun, 22 Dec 2024 15:48:55 -0500 Subject: More updates BSM is currently broken--I'll need to think a bit about how best to actually implement this in the current framework (if I even want to port it over) because it doesn't use the same flushing mechanism as most other approaches. --- include/framework/reconstruction/LevelingPolicy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/framework/reconstruction/LevelingPolicy.h') diff --git a/include/framework/reconstruction/LevelingPolicy.h b/include/framework/reconstruction/LevelingPolicy.h index 8bf5645..add28ba 100644 --- a/include/framework/reconstruction/LevelingPolicy.h +++ b/include/framework/reconstruction/LevelingPolicy.h @@ -59,7 +59,7 @@ public: private: level_index find_reconstruction_target(LevelVector &levels) const { - level_index target_level = 0; + level_index target_level = invalid_level_idx; size_t incoming_records = m_buffer_size; for (level_index i = 0; i < (level_index)levels.size(); i++) { -- cgit v1.2.3