summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 02:49:23 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 02:49:23 +0000
commite7fdfefd5ca1b23f4396230c9f34e5fa59825093 (patch)
tree822d7b85a283faa535024385de38276d74c2a619 /complex.c
parentb4bbfe4bb91db310d903a149cfa5525295e4a70c (diff)
* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/complex.c b/complex.c
index 8a60a4fb4b..a6e2de60ed 100644
--- a/complex.c
+++ b/complex.c
@@ -903,7 +903,7 @@ rb_complex_pow(VALUE self, VALUE other)
if (FIXNUM_P(other)) {
long n = FIX2LONG(other);
if (n == 0) {
- return nucomp_s_new_internal(CLASS_OF(self), ONE, ZERO);
+ return nucomp_s_new_internal(CLASS_OF(self), ONE, ZERO);
}
if (n < 0) {
self = f_reciprocal(self);
@@ -938,7 +938,7 @@ rb_complex_pow(VALUE self, VALUE other)
comp_mul(zr, zi, xr, xi, &zr, &zi);
}
}
- return nucomp_s_new_internal(CLASS_OF(self), zr, zi);
+ return nucomp_s_new_internal(CLASS_OF(self), zr, zi);
}
}
if (k_numeric_p(other) && f_real_p(other)) {