Skip to content

Commit

Permalink
Revert "Make Complex descendant of Number"
Browse files Browse the repository at this point in the history
This reverts commit 6462a40.
  • Loading branch information
Sija committed Aug 31, 2018
1 parent b3de8d8 commit 79e1a82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/complex.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79e1a82

Please sign in to comment.