From 23a9b54daf41a46e4218742fd2c0a5366a4c4f96 Mon Sep 17 00:00:00 2001 From: Fabian Gans Date: Mon, 17 Feb 2020 11:20:19 +0100 Subject: [PATCH] Add lost newline --- src/Cubes/Axes.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Cubes/Axes.jl b/src/Cubes/Axes.jl index 0aca92b6..06d45fb5 100644 --- a/src/Cubes/Axes.jl +++ b/src/Cubes/Axes.jl @@ -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