diff --git a/Math/Math/Matrix.swift b/Math/Math/Matrix.swift index 7339cbd..d4c3ea6 100644 --- a/Math/Math/Matrix.swift +++ b/Math/Math/Matrix.swift @@ -270,19 +270,22 @@ public func -(lhs: T, rhs: T) -> T { // MARK: Matrix-Matrix multiplication public func *=(inout lhs: T, rhs: T) { - for i in 0..(lhs: T, rhs: T) -> T { - var out = lhs - out *= rhs + var out = T() + for i in 0..