diff --git a/cnumber.hpp b/cnumber.hpp index ee7b63c..277f228 100644 --- a/cnumber.hpp +++ b/cnumber.hpp @@ -9,6 +9,10 @@ class cnumber { public: // Constructor + cnumber(const cnumber &z) { + r = z.r; + i = z.i; + } cnumber(const fraction &a, const fraction &b) { r = a; i = b;