You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the non logarithmic time scaling of the ObserverTimeEvoultion module in the function ObserverTimeEvolution::addTimeRange
in the current master of CRPropa adds the time like min + index * (max - min) / numb.
However, since the maximum index is numb-1, the function only adds times in the range of (min, min + (numb-1) * (max - min) / numb).
The expected behavior would be a range of time like (min, max),
this can be achieved by calculating the maximum time like min + index * (max - min) / (numb - 1)
The text was updated successfully, but these errors were encountered:
Dear All,
the non logarithmic time scaling of the
ObserverTimeEvoultion
module in the functionObserverTimeEvolution::addTimeRange
in the current master of CRPropa adds the time like
min + index * (max - min) / numb
.However, since the maximum index is
numb-1
, the function only adds times in the range of(min, min + (numb-1) * (max - min) / numb)
.The expected behavior would be a range of time like
(min, max)
,this can be achieved by calculating the maximum time like
min + index * (max - min) / (numb - 1)
The text was updated successfully, but these errors were encountered: