Skip to content

Commit cb6f989

Browse files
author
Cyril Gandon
committed
fix(factorial): result should be of the default kind, not double default kind
Fixes #875
1 parent ccdba91 commit cb6f989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_specialfunctions_gamma.fypp

+1-1
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ contains
547547

548548
case (two : )
549549

550-
res = l_gamma(n + 1, 1.0D0)
550+
res = l_gamma(n + 1, 1.0)
551551

552552
end select
553553
end function l_factorial_${t1[0]}$${k1}$

0 commit comments

Comments
 (0)