Skip to content
Snippets Groups Projects
Commit 29208624 authored by Jonas Krimmer's avatar Jonas Krimmer
Browse files

fix: wrong chunksize for iters < chunksize

parent 348d3ac4
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ function repeated_wave_propagation(utx::AbstractArray{Complex{T}}, midx, domain:
attrs(fid)["modes"] = midx
attrs(fid)["iters"] = iters
attrs(fid)["nchunks"] = nchunks
attrs(fid)["chunksize"] = chunksize
attrs(fid)["chunksize"] = min(chunksize, iters)
attrs(fid)["dx"] = collect(domain.dx)
attrs(fid)["dy"] = collect(domain.dy)
attrs(fid)["dz"] = domain.dz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment