From c84bb8218c077151f7b22539ac6347c263609783 Mon Sep 17 00:00:00 2001 From: Nikolay Borodin Date: Mon, 28 Oct 2024 19:34:59 +0200 Subject: [PATCH] Removed trailing whitespaces --- lib/framework/math_ext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/framework/math_ext.h b/lib/framework/math_ext.h index f88d65b66cf..a21310e0444 100644 --- a/lib/framework/math_ext.h +++ b/lib/framework/math_ext.h @@ -114,8 +114,8 @@ static inline WZ_DECL_CONST T clip(T x, T min, T max) template static inline WZ_DECL_CONST T idiv_round(T numerator, T denominator) { - return ((numerator < 0) == (denominator < 0)) - ? ((numerator + denominator / 2) / denominator) + return ((numerator < 0) == (denominator < 0)) + ? ((numerator + denominator / 2) / denominator) : ((numerator - denominator / 2) / denominator); }