Skip to content

Commit 9a726a7

Browse files
markuswntrstephentyrone
authored andcommitted
Remove AlgebraicField conformance on quaternions
Replace the (incorrect) conformance on AlgebraicField with a conformance to SignedNumeric
1 parent 98b9088 commit 9a726a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/QuaternionModule/Quaternion+AlgebraicField.swift renamed to Sources/QuaternionModule/Quaternion+SignedNumeric.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- Quaternion+AlgebraicField.swift ----------------------*- swift -*-===//
1+
//===--- Quaternion+SignedNumeric.swift -----------------------*- swift -*-===//
22
//
33
// This source file is part of the Swift Numerics open source project
44
//
@@ -9,9 +9,7 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
import RealModule
13-
14-
extension Quaternion: AlgebraicField {
12+
extension Quaternion: SignedNumeric {
1513
/// The multiplicative identity, with real part one and *all* imaginary parts
1614
/// zero, i.e.: `1 + 0i + 0j + 0k`
1715
///

0 commit comments

Comments
 (0)