summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-02 04:32:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-02 04:32:18 +0000
commitdc697b1905966c164ecf88a737c9c90ca95c87a8 (patch)
tree65b1b26f08be49ffd8f0553729b36fc0656ae3f2
parenta4b94c4443953b61ecdbb764e4a544c0e7208c7e (diff)
* math.c (math_gamma): constified fact_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 6273d60976..2734280b32 100644
--- a/math.c
+++ b/math.c
@@ -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,