mirror of
https://github.com/apple/swift-numerics
synced 2026-11-28 05:14:31 +00:00
Fix parameter on multiplication header
This commit is contained in:
1 parent
09c038ed3b
commit
43932b1cfe
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user