Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
sostock committed Nov 30, 2024
1 parent e2cee02 commit cd9422e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/conversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ julia> [1.0u"m", 2.0u"m"]
julia> [1.0u"m", 2.0u"cm"]
2-element Vector{Quantity{Float64, 𝐋, Unitful.FreeUnits{(m,), 𝐋, nothing}}}:
1.0 m
1.0 m
0.02 m
julia> [1.0u"m", 2.0]
2-element Vector{Quantity{Float64}}:
1.0 m
2.0
2.0
```

In the first case, an array with a concrete type is created. Good
Expand Down

0 comments on commit cd9422e

Please sign in to comment.