From 3b3629a339e8dc55ff8945fe3f42fb45bf53ced3 Mon Sep 17 00:00:00 2001 From: subcrip Date: Thu, 28 Nov 2024 10:24:22 +0000 Subject: [PATCH] Update number/fractional.cc Signed-off-by: subcrip --- number/fractional.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/number/fractional.cc b/number/fractional.cc index c302579..11c5048 100644 --- a/number/fractional.cc +++ b/number/fractional.cc @@ -41,5 +41,5 @@ struct fractional { return in; } template >::type> - inline U into(void) const { return U(p) / q; } + inline U into(void) const { return static_cast(p) / q; } };