IAP GITLAB

Skip to content
Snippets Groups Projects
Commit dff651d2 authored by Juan Ammerman's avatar Juan Ammerman Committed by Nikos Karastathis
Browse files

Corrected bug in gridResolution_ calculation

parent b911ca6b
No related branches found
No related tags found
1 merge request!329Radio interface
......@@ -104,7 +104,7 @@ namespace corsika {
auto deltaT1_ {startTime_ + paths1[i].propagation_time_};
auto deltaT2_ {endTime_ + paths2[i].propagation_time_};
long double const gridResolution_{antenna.duration_ / 1_s};
long double const gridResolution_{antenna.sample_rate_ * 1_s};
//make deltaT1_ be the smallest time => changes step function order so
// constants is changed to account for it
if (deltaT1_ > deltaT2_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment