summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-04 15:28:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-07-04 15:28:25 +0900
commit2488589b2f1a70dbfdc4155ac9bea3c533ef35d8 (patch)
tree24665985c1ce24336f6e6074bb57a125ddc25757 /math.c
parenta73f13c9070a5189947641638398cbffb8d012d8 (diff)
Removed extra double quotes from domain error messages
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math.c b/math.c
index 3b72149feb..d099e254d9 100644
--- a/math.c
+++ b/math.c
@@ -39,7 +39,7 @@ VALUE rb_eMathDomainError;
#define Get_Double(x) rb_num_to_dbl(x)
#define domain_error(msg) \
- rb_raise(rb_eMathDomainError, "Numerical argument is out of domain - " #msg)
+ rb_raise(rb_eMathDomainError, "Numerical argument is out of domain - " msg)
/*
* call-seq: