Fix some template type conversions and style

This commit is contained in:
Matthias Grob
2019-09-23 10:59:12 +02:00
committed by Beat Küng
parent c34e8dc98f
commit 973999a4d3
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ public:
void operator/=(Type scalar)
{
Matrix<Type, M, N> &self = *this;
self = self * (Type(1.0f) / scalar);
self = self * (Type(1) / scalar);
}
inline void operator+=(Type scalar)