Skip to content

Commit 1b3e3f1

Browse files
Merge pull request #207 from markuswntr/patch-1
Fix a minor typo in the comments of the sinh decomposition
2 parents 9837c10 + 63df367 commit 1b3e3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComplexModule/ElementaryFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ extension Complex: ElementaryFunctions {
164164
)
165165
}
166166

167-
// sinh(x + iy) = sinh(x) cos(y) + i cosh(x) sinh(y)
167+
// sinh(x + iy) = sinh(x) cos(y) + i cosh(x) sin(y)
168168
//
169169
// See cosh above for algorithm details.
170170
@inlinable

0 commit comments

Comments
 (0)