diff options
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -377,7 +377,7 @@ nucomp_real_check(VALUE num) break; default: if (!k_numeric_p(num) || !f_real_p(num)) - rb_raise(rb_eArgError, "not a real"); + rb_raise(rb_eTypeError, "not a real"); } } |