From 277af075116fc8a01ad2aa3bb3547844cdbfa119 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sun, 20 Jan 2019 08:45:22 +0100 Subject: [PATCH] do not initialize Complex to zero --- complex.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complex.hh b/complex.hh index 797a938..00f6e68 100644 --- a/complex.hh +++ b/complex.hh @@ -12,7 +12,7 @@ class Complex T re, im; public: typedef T value_type; - constexpr Complex() : re(0), im(0) {} + constexpr Complex() /*: re(0), im(0)*/ {} constexpr Complex(T r) : re(r), im(0) {} constexpr Complex(T r, T i) : re(r), im(i) {} constexpr T real() const { return re; }