From 43932b1cfe854bf7ef6982a9a1bb595a63415fce Mon Sep 17 00:00:00 2001 From: Markus Winter Date: Wed, 3 Jun 2020 21:29:12 +0200 Subject: [PATCH] Fix parameter on multiplication header --- Sources/QuaternionModule/Arithmetic.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/QuaternionModule/Arithmetic.swift b/Sources/QuaternionModule/Arithmetic.swift index 0e0c909..537dcba 100644 --- a/Sources/QuaternionModule/Arithmetic.swift +++ b/Sources/QuaternionModule/Arithmetic.swift @@ -53,7 +53,7 @@ extension Quaternion { // MARK: - Multiplicative structure extension Quaternion: AlgebraicField { @_transparent - public static func * (lhs: Self, rhs: Self) -> Quaternion { + public static func * (lhs: Quaternion, rhs: Quaternion) -> Quaternion { let rhsA = SIMD4(+rhs.components.x, -rhs.components.y, -rhs.components.z, -rhs.components.w) let rhsB = SIMD4(+rhs.components.y, +rhs.components.x, +rhs.components.w, -rhs.components.z)