Skip to content

Commit

Permalink
Merge pull request #40 from project8/develop
Browse files Browse the repository at this point in the history
Fixed bug in multitrack jump start frequencies in LMCFakeTrackGenerator.
  • Loading branch information
pslocum authored Nov 27, 2018
2 parents 53c6cb4 + 4a04158 commit 5b9ee65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Generators/LMCFakeTrackSignalGenerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -312,14 +312,14 @@ namespace locust
else
{
starttime_val = endtime_val + 0.; // old track endtime + margin=0.
jumpsize_val = 0.002e9; // this should come from a pdf as well
startfreq_val += jumpsize_val;
}

slope_val = slope_distribution(generator);
tracklength_val = tracklength_distribution(generator);
endtime_val = starttime_val + tracklength_val; // reset endtime.
jumpsize_val = 0.002e9; // this should come from a pdf as well
startfreq_val += jumpsize_val;
// printf("tracklength is %g\n", tracklength_val);
// printf("startfreq is %g\n", startfreq_val);

}

Expand Down

0 comments on commit 5b9ee65

Please sign in to comment.