From febf0eaae38e149e1275c4795bbb9e53ab6b3383 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 22 Jun 2020 16:23:42 +0000 Subject: [PATCH] avoid redundant qreal construct in QMatrix4x4::determinant() Signed-off-by: Ivailo Monev --- src/gui/math3d/qmatrix4x4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/math3d/qmatrix4x4.cpp b/src/gui/math3d/qmatrix4x4.cpp index 9c65e735c..c39a58fb3 100644 --- a/src/gui/math3d/qmatrix4x4.cpp +++ b/src/gui/math3d/qmatrix4x4.cpp @@ -333,7 +333,7 @@ static inline qreal matrixDet4(const qreal m[4][4]) */ qreal QMatrix4x4::determinant() const { - return qreal(matrixDet4(m)); + return matrixDet4(m); } /*! -- 2.11.0