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 | ffd61b1a00ce74457b398dfc933e90bc6a29123e (patch) | |
tree | 65b1b26f08be49ffd8f0553729b36fc0656ae3f2 | |
parent | 60e00a85d13c2a819954203831419c527babc8af (diff) | |
download | ruby-ffd61b1a00ce74457b398dfc933e90bc6a29123e.tar.gz ruby-ffd61b1a00ce74457b398dfc933e90bc6a29123e.tar.xz ruby-ffd61b1a00ce74457b398dfc933e90bc6a29123e.zip |
* math.c (math_gamma): constified fact_table.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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, |