Browse Source

Math: make Complex::invertedNormalized() consistent with Quaternion.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
143783004b
  1. 2
      src/Math/Complex.h

2
src/Math/Complex.h

@ -337,7 +337,7 @@ template<class T> class Complex {
inline Complex<T> invertedNormalized() const {
CORRADE_ASSERT(MathTypeTraits<T>::equals(dot(), T(1)),
"Math::Complex::invertedNormalized(): complex number must be normalized",
Complex<T>(std::numeric_limits<T>::quiet_NaN(), std::numeric_limits<T>::quiet_NaN()));
Complex<T>(std::numeric_limits<T>::quiet_NaN(), {}));
return conjugated();
}

Loading…
Cancel
Save