We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 536c6b5 commit 3307070Copy full SHA for 3307070
src/glaciers/climate/Climate2D.jl
@@ -216,7 +216,7 @@ Arguments:
216
"""
217
function DummyClimate2D(;
218
longterm_temps_scalar::Vector{F} = Vector{Sleipnir.Float}([]),
219
- longterm_temps_gridded::Matrix{F} = Matrix{Sleipnir.Float}([])
+ longterm_temps_gridded::Matrix{F} = Matrix{Sleipnir.Float}(zeros(0,0))
220
) where {F <: AbstractFloat}
221
ras = Raster(rand(X(1:0), Y(1:0), Ti(DateTime(2001):Month(1):DateTime(2002))))
222
emptyRasterStack = RasterStack(ras)
0 commit comments