Skip to content

Commit

Permalink
spot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gafferongames committed Sep 19, 2024
1 parent aeb879f commit b881662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reliable/reliable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ void reliable_endpoint_update( struct reliable_endpoint_t * endpoint, double tim
{
if ( endpoint->rtt_history_buffer[i] >= 0.0f )
{
float deviation = ( endpoint->rtt_history_buffer[i] - endpoint->rtt_min );
float deviation = ( endpoint->rtt_history_buffer[i] - endpoint->rtt_avg );
sum += deviation * deviation;
count++;
}
Expand Down

0 comments on commit b881662

Please sign in to comment.