From 8d5c5b8127c66356b188f5fd206521e6c76f6db1 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 4 Apr 2024 02:09:55 +0200 Subject: Reformatted rating_delta() --- FICS/ratings.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'FICS/ratings.c') diff --git a/FICS/ratings.c b/FICS/ratings.c index 713d144..4178c36 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -587,16 +587,14 @@ PUBLIC void rating_sterr_delta(int p1, int p2, int type, int gtime, int result, *newsterr = (double) sigma; } -/* vek: Next is for when we want just the delta, and not the sigma. */ - -PUBLIC int rating_delta(int p1, int p2, int type, int result, int gtime) +PUBLIC int +rating_delta(int p1, int p2, int type, int result, int gtime) { - int delta; - double sigma; - - rating_sterr_delta(p1, p2, type, gtime, result, &delta, &sigma); - return (delta); + int delta; + double sigma; + rating_sterr_delta(p1, p2, type, gtime, result, &delta, &sigma); + return delta; } PUBLIC int -- cgit v1.2.3