Skip to content

Commit b0e86b6

Browse files
Merge pull request #264 from joesho112358/joesho112358-patch-1
Updating ReadMe's for Quaternions branch
2 parents 5750897 + 331da45 commit b0e86b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To use Swift Numerics in a SwiftPM project:
4242
1. Add the following line to the dependencies in your `Package.swift` file:
4343

4444
```swift
45-
.package(url: "https://github.com/apple/swift-numerics", from: "1.0.0"),
45+
.package(url: "https://github.com/apple/swift-numerics", branch: "Quaternions"),
4646
```
4747

4848
2. Add `Numerics` as a dependency for your target:

Sources/QuaternionModule/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This module provides a `Quaternion` type generic over an underlying `RealType`:
44

55
```swift
66
1> import QuaternionModule
7-
2> let q = Quaternion(1, (1,1,1)) // q = 1 + i + j + k
7+
2> let q = Quaternion(real: 1, imaginary: 1, 1, 1) // q = 1 + i + j + k
88
```
99

1010
The usual arithmetic operators are provided for Quaternions, many useful properties, plus conformances to the

0 commit comments

Comments
 (0)