Skip to content

Commit

Permalink
Make doctest less like complex
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed Nov 30, 2022
1 parent 467ae84 commit b519d49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Quaternion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ Return zero if `q==0` and ``q/|q|`` otherwise.
# Examples
```jldoctest
julia> sign(Quaternion(4,0,0,0))
julia> sign(Quaternion(4, 0, 0, 0))
QuaternionF64(1.0, 0.0, 0.0, 0.0)
julia> sign(Quaternion(1,1,0,0))
QuaternionF64(0.7071067811865475, 0.7071067811865475, 0.0, 0.0)
julia> sign(Quaternion(1, 0, 1, 0))
QuaternionF64(0.7071067811865475, 0.0, 0.7071067811865475, 0.0)
```
"""
sign(::Quaternion)
Expand Down

0 comments on commit b519d49

Please sign in to comment.