Closed eeveetza closed 2 years ago
Similar to issue https://github.com/eeveetza/p1812/issues/9, the following needs to be corrected in path_fraction() and in longest_cont_dist():
if ( d[start[i]] > 0 ) : delta = delta + ( d[start[i]]-d[start[i]-1] )/2.0
instead of
if ( d[start[i]] > 0 ) : delta = delta + ( d[stop[i]]-d[stop[i]-1] )/2.0
Similar to issue https://github.com/eeveetza/p1812/issues/9, the following needs to be corrected in path_fraction() and in longest_cont_dist():
instead of