From 79e1a82d355b0d70bc392295f845c6f824e2d0ae Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Fri, 31 Aug 2018 19:35:34 +0200 Subject: [PATCH] Revert "Make Complex descendant of Number" This reverts commit 6462a401fd2a0eb81457818098d78ccc3f6a2854. --- src/complex.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/complex.cr b/src/complex.cr index bc4aeebff3c0..446e42446461 100644 --- a/src/complex.cr +++ b/src/complex.cr @@ -12,7 +12,7 @@ # 1.to_c # => 1.0 + 0.0i # 1.i # => 0.0 + 1.0i # ``` -struct Complex < Number +struct Complex # Returns the real part. getter real : Float64