From 143783004b9649f1a7d239b283e0ab44216224c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 24 Feb 2013 18:17:01 +0100 Subject: [PATCH] Math: make Complex::invertedNormalized() consistent with Quaternion. --- src/Math/Complex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Math/Complex.h b/src/Math/Complex.h index 64773b217..de6e0334c 100644 --- a/src/Math/Complex.h +++ b/src/Math/Complex.h @@ -337,7 +337,7 @@ template class Complex { inline Complex invertedNormalized() const { CORRADE_ASSERT(MathTypeTraits::equals(dot(), T(1)), "Math::Complex::invertedNormalized(): complex number must be normalized", - Complex(std::numeric_limits::quiet_NaN(), std::numeric_limits::quiet_NaN())); + Complex(std::numeric_limits::quiet_NaN(), {})); return conjugated(); }