Commit 08079803 authored by Ian Harry's avatar Ian Harry
Browse files

Restrict longest short slide jump so that the short slides do not replicate...

Restrict longest short slide jump so that the short slides do not replicate the long slides at the longest jump
Original: 19d08922bfa57d311c725f58ab1f5effcb24bc96
parent d225739e
......@@ -678,7 +678,11 @@ void coh_PTF_create_time_slide_table(
{
currBaseIfoOffset[ifoNumber] = currBaseOffset * ifoNum;
/* If the offset is bigger than the stride then this cannot be done*/
if (currBaseIfoOffset[ifoNumber] > params->strideDuration)
/* EDIT: We need to check that the offset is not bigger than the */
/* stride minus the BaseOffset, otherwise we can end up with short */
/* slides whose offsets are very similar to the long slides */
if (currBaseIfoOffset[ifoNumber] > \
(params->strideDuration - params->shortSlideOffset) )
{
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment