Skip to content

Commit

Permalink
* math.c (math_gamma): constified fact_table.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Sep 2, 2009
1 parent a4b94c4 commit dc697b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion math.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ math_erfc(VALUE obj, VALUE x)
static VALUE
math_gamma(VALUE obj, VALUE x)
{
static double fact_table[] = {
static const double fact_table[] = {
/* fact(0) */ 1.0,
/* fact(1) */ 1.0,
/* fact(2) */ 2.0,
Expand Down

0 comments on commit dc697b1

Please sign in to comment.