Skip to content

Commit

Permalink
fix(factorial): result should be of the default kind, not double defa…
Browse files Browse the repository at this point in the history
…ult kind

Fixes #875
  • Loading branch information
Cyril Gandon committed Sep 23, 2024
1 parent ccdba91 commit cb6f989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib_specialfunctions_gamma.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ contains

case (two : )

res = l_gamma(n + 1, 1.0D0)
res = l_gamma(n + 1, 1.0)

end select
end function l_factorial_${t1[0]}$${k1}$
Expand Down

0 comments on commit cb6f989

Please sign in to comment.