Skip to content

Commit

Permalink
PDF: default max rate * 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasRoikjer authored Jun 5, 2022
1 parent e13674d commit 8368cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/c/ptdalgorithms.c
Original file line number Diff line number Diff line change
Expand Up @@ -4131,7 +4131,7 @@ struct ptd_probability_distribution_context *ptd_probability_distribution_contex
struct ptd_graph *graph,
int granularity
) {
double max_rate = 1024;
double max_rate = 512;

for (size_t i = 0; i < graph->vertices_length; ++i) {
double rate = 0;
Expand All @@ -4148,7 +4148,7 @@ struct ptd_probability_distribution_context *ptd_probability_distribution_contex
}

if (granularity == 0) {
granularity = max_rate;
granularity = max_rate * 2;
}

for (size_t i = 0; i < graph->vertices_length; ++i) {
Expand Down

0 comments on commit 8368cf2

Please sign in to comment.