Commit 2b5f911a authored by Éric Thiébaut's avatar Éric Thiébaut
Browse files

Fix doc. and add remark about MappedArrays

parent 1e7ae33b
......@@ -21,6 +21,7 @@ export
#using MappedArrays # FIXME: for of_eltype?
using TwoDimensional
using EasyFITS
......@@ -74,12 +74,11 @@ to_float(types::Type{<:Real}...) = float(promote_type(types...))
to_float(T::Type{<:AbstractFloat}) = T
to_float(::Type{<:Integer}) = Float64
of_eltype(T, A)
yields an object similar to `A` but with elements of type `T`. If the elements
of `A` are laready of the requeste type, `A` is returned, not a copy.
of `A` are already of the requested type, `A` is returned, not a copy.
of_eltype(::Type{T}, A::AbstractArray{T}) where {T} = A
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment