summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c5
1 files changed, 1 insertions, 4 deletions
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));
}