aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-30 13:46:38 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-30 13:46:38 +0000
commit63324cb36dc07e8759ff4148d64728dabed09fd9 (patch)
tree10c6ed0a8c4a953994b6fdb2183af62d17b8f570
parente955cff06ce266f90c32c73bc244dda3924c66e4 (diff)
downloadruby-63324cb36dc07e8759ff4148d64728dabed09fd9.tar.gz
* math.c: Math::DomainError < StandardException [ruby-core:29855]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--math.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d158a7f34b..d7739690c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 30 22:46:27 2010 Marc-Andre Lafortune <ruby-core@marc-andre.ca>
+
+ * math.c: Math::DomainError < StandardException [ruby-core:29855]
+
Fri Apr 30 21:40:36 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/test_open3.rb (TestOpen3#test_commandline): use simple
diff --git a/math.c b/math.c
index d4251df28f..8601b614e7 100644
--- a/math.c
+++ b/math.c
@@ -746,7 +746,7 @@ void
Init_Math(void)
{
rb_mMath = rb_define_module("Math");
- rb_eMathDomainError = rb_define_class_under(rb_mMath, "DomainError", rb_eArgError);
+ rb_eMathDomainError = rb_define_class_under(rb_mMath, "DomainError", rb_eStandardError);
#ifdef M_PI
rb_define_const(rb_mMath, "PI", DBL2NUM(M_PI));