From fa36cf648cad653a19d5b5f6aa9fd03337caccf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 31 Aug 2016 21:07:36 +0200 Subject: [PATCH] Math: document facts for older version of me. I spent some minutes actually implementing that until I realized that this would lead only to pain and misery. --- src/Magnum/Math/DualComplex.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Magnum/Math/DualComplex.h b/src/Magnum/Math/DualComplex.h index f1a5df321..ad13a5095 100644 --- a/src/Magnum/Math/DualComplex.h +++ b/src/Magnum/Math/DualComplex.h @@ -136,6 +136,9 @@ template class DualComplex: public Dual> { */ constexpr /*implicit*/ DualComplex(const Complex& real, const Complex& dual = Complex(T(0), T(0))) noexcept: Dual>(real, dual) {} + /* No constructor from a pair of Dual values because that would be + ambiguous with the above */ + /** * @brief Construct dual complex number from vector *