You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create the volume of type Float32 instead of T. Shouldn't this be
NIVolume(header::NIfTI1Header, extensions::Vector{NIfTI1Extension}, raw::AbstractArray{T,N}) where {T<:Number,N} = let
NIVolume{T,N,typeof(raw)}(header, extensions, raw)
# Why is this not using T? That is the type of the `raw` array elements!?
#NIVolume{typeof(one(T)*1f0+1f0),N,typeof(raw)}(header, extensions, raw)
end
?
The text was updated successfully, but these errors were encountered:
Why does the constructor not refer to the type of the element of
raw
?The lines
NIfTI.jl/src/NIfTI.jl
Line 152 in 704f7c8
NIfTI.jl/src/NIfTI.jl
Line 153 in 704f7c8
create the volume of type
Float32
instead ofT
. Shouldn't this be?
The text was updated successfully, but these errors were encountered: