diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 22:00:32 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-04-08 22:00:32 +0000 |
commit | 08df8218659167a99cd1b1a52c5eab0519c515dc (patch) | |
tree | 0023f0e656b080f397ea59225bfb4dc64fa50227 /complex.c | |
parent | e0ba59b708edb0fb5fdde4c7a2364d5e006705f7 (diff) | |
download | ruby-08df8218659167a99cd1b1a52c5eab0519c515dc.tar.gz |
* complex.c (nucomp_expt): [ruby-core:44170].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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)); } |