Skip to content

Commit

Permalink
Remove unusable sanity checks (see thomasmoelhave/tpie#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Dec 27, 2021
1 parent a91ad3e commit 1d43209
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/adiar/internal/sorter.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ namespace adiar {
const tpie::memory_size_type phase3 =
phase1;

// Sanity checks
adiar_debug(_sorter.minimum_memory_phase_1() <= phase1,
"Not enough memory for phase 1");

adiar_debug(_sorter.minimum_memory_phase_2() <= phase2,
"Not enough memory for phase 2");

adiar_debug(_sorter.minimum_memory_phase_3() <= phase3,
"Not enough memory for phase 1");

// Set the available memory and start the sorter
_sorter.set_available_memory(phase1, phase2, phase3);
_sorter.begin();
Expand Down

0 comments on commit 1d43209

Please sign in to comment.