Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ledwards2225 committed Nov 15, 2024
1 parent 7fcdde0 commit 64198cf
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ struct ExecutionTraceUsageTracker {
size_t dyadic_circuit_size = fixed_sizes.get_structured_dyadic_size();

// WORKTODO: should be able to use Range{ 0, max_databus_size } but this breaks for certain num_threads.. why
active_ranges.push_back(
Range{ 0, std::max(max_databus_size, fixed_sizes.busread.trace_offset + max_sizes.busread) });
size_t databus_end =
std::max(max_databus_size, static_cast<size_t>(fixed_sizes.busread.trace_offset + max_sizes.busread));
active_ranges.push_back(Range{ 0, databus_end });
// active_ranges.push_back(Range{ 0, max_databus_size });
active_ranges.push_back(Range{ dyadic_circuit_size - max_tables_size, dyadic_circuit_size });
}
Expand Down

0 comments on commit 64198cf

Please sign in to comment.