Skip to content

Commit

Permalink
Add lost newline
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart committed Feb 17, 2020
1 parent 9f6ed16 commit 23a9b54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cubes/Axes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ end

#Default constructor
NcDim(a::CubeAxis{T},start::Integer,count::Integer) where {T<:Real}=NcDim(axname(a),count,values=collect(a.values[start:(start+count-1)]),atts=Dict{Any,Any}("units"=>axunits(a)))
NcDim(a::CubeAxis,start::Integer,count::Integer)=NcDim(axname(a),count,values=string.(a.values[start:(start+count-1)]),atts=Dict{Any,Any}("units"=>axunits(a)))NcDim(a::CubeAxis)=NcDim(a,1,length(a))
NcDim(a::CubeAxis,start::Integer,count::Integer)=NcDim(axname(a),count,values=string.(a.values[start:(start+count-1)]),atts=Dict{Any,Any}("units"=>axunits(a)))
NcDim(a::CubeAxis)=NcDim(a,1,length(a))

end

0 comments on commit 23a9b54

Please sign in to comment.