From 08df8218659167a99cd1b1a52c5eab0519c515dc Mon Sep 17 00:00:00 2001 From: tadf Date: Sun, 8 Apr 2012 22:00:32 +0000 Subject: * complex.c (nucomp_expt): [ruby-core:44170]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- complex.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'complex.c') diff --git a/complex.c b/complex.c index 930c4453ec..a6538606f6 100644 --- a/complex.c +++ b/complex.c @@ -896,10 +896,7 @@ nucomp_expt(VALUE self, VALUE other) z = f_mul(z, x); n--; } - { - get_dat1(z); - return f_complex_new2(CLASS_OF(self), dat->real, dat->imag); - } + return z; } return f_expt(f_reciprocal(self), f_negate(other)); } -- cgit v1.2.3