Skip to content

Commit

Permalink
remove wrong assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Aug 9, 2024
1 parent eceeb94 commit bdc42eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/storage/temporary_memory_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ idx_t TemporaryMemoryManager::ComputeOptimalReservation(const TemporaryMemorySta

idx_t i = 0;
for (auto &active_state : active_states) {
D_ASSERT(active_state.get().GetRemainingSize() != 0);
D_ASSERT(active_state.get().GetReservation() != 0);
siz[i] = MaxValue<double>(static_cast<double>(active_state.get().GetRemainingSize()), 1);
res[i] = MaxValue<double>(static_cast<double>(active_state.get().GetReservation()), 1);
pen[i] = static_cast<double>(active_state.get().materialization_penalty.load());
Expand Down

0 comments on commit bdc42eb

Please sign in to comment.