summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 6273d60..2734280 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,