From dc697b1905966c164ecf88a737c9c90ca95c87a8 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 2 Sep 2009 04:32:18 +0000 Subject: * math.c (math_gamma): constified fact_table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math.c') 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, -- cgit v1.2.3