Skip to content

Commit 72d19eb

Browse files
committed
Cleanup docs
1 parent c643ea6 commit 72d19eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and so can be used in most places where a normal array would be used, including
1515
# Constructors
1616
1717
- `QuantityArray(v::AbstractArray, d::AbstractDimensions)`: Create a `QuantityArray` with value `v` and dimensions `d`,
18-
using `Quantity` if it is numeric, and `GenericQuantity` otherwise.
18+
using `Quantity` if the eltype of `v` is numeric, and `GenericQuantity` otherwise.
1919
- `QuantityArray(v::AbstractArray{<:Number}, q::AbstractQuantity)`: Create a `QuantityArray` with value `v` and dimensions inferred
2020
with `dimension(q)`. This is so that you can easily create an array with the units module, like so:
2121
```julia

0 commit comments

Comments
 (0)