diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-02 04:32:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-02 04:32:18 +0000 |
commit | dc697b1905966c164ecf88a737c9c90ca95c87a8 (patch) | |
tree | 65b1b26f08be49ffd8f0553729b36fc0656ae3f2 /math.c | |
parent | a4b94c4443953b61ecdbb764e4a544c0e7208c7e (diff) | |
download | bundler-dc697b1905966c164ecf88a737c9c90ca95c87a8.tar.gz |
* math.c (math_gamma): constified fact_table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |