Skip to content

Commit ba120a7

Browse files
committed
tired glenn
1 parent e5b8b4b commit ba120a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reliable.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,7 @@ void reliable_endpoint_update( struct reliable_endpoint_t * endpoint, double tim
14331433
{
14341434
if ( endpoint->rtt_history_buffer[i] >= 0.0f )
14351435
{
1436-
float deviation = ( endpoint->rtt_history_buffer[i] - endpoint->rtt_min );
1436+
float deviation = ( endpoint->rtt_history_buffer[i] - endpoint->rtt_avg );
14371437
sum += deviation * deviation;
14381438
count++;
14391439
}

0 commit comments

Comments
 (0)