File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ extension Quaternion {
273
273
///
274
274
/// See also:
275
275
/// -
276
- /// - `.transformCanonicalized `
276
+ /// - `.canonicalizedTransform `
277
277
@_transparent
278
278
public var canonicalized : Self {
279
279
guard !isZero else { return . zero }
@@ -298,7 +298,7 @@ extension Quaternion {
298
298
/// -
299
299
/// - `.canonicalized`
300
300
@_transparent
301
- public var transformCanonicalized : Self {
301
+ public var canonicalizedTransform : Self {
302
302
var canonical = canonicalized
303
303
if canonical. real. sign == . plus { return canonical }
304
304
// Clear the signbit of real even for -0
@@ -450,7 +450,7 @@ extension Quaternion: Hashable {
450
450
// (while unfortunately producing some collisions for people who are not,
451
451
// but not in too catastrophic of a fashion).
452
452
if isFinite {
453
- transformCanonicalized . components. hash ( into: & hasher)
453
+ canonicalizedTransform . components. hash ( into: & hasher)
454
454
} else {
455
455
hasher. combine ( RealType . infinity)
456
456
}
You can’t perform that action at this time.
0 commit comments