From 41a2f3f38a0212c1dd1869add0010eb76145a5ff Mon Sep 17 00:00:00 2001 From: ewd00010 <78011234+ewd00010@users.noreply.github.com> Date: Fri, 9 Jun 2023 20:40:30 +0100 Subject: [PATCH] Update math/check_factorial.cpp Co-authored-by: David Leal --- math/check_factorial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/check_factorial.cpp b/math/check_factorial.cpp index 7a70ee16df3..5573f4f83a2 100644 --- a/math/check_factorial.cpp +++ b/math/check_factorial.cpp @@ -44,7 +44,7 @@ bool is_factorial(uint64_t n) { * if n was the sum of a factorial then it should be divided until it * becomes 1 */ - return (n == 1) + return (n == 1); } } // namespace math