Skip to content

Commit b2af1b2

Browse files
committed
removed unnecessary vector colllection
1 parent c22cd88 commit b2af1b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LaMEM_io.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,9 +1511,9 @@ function setup_model_domain(coord_x::AbstractVector{<:Real},
15111511
nnody = ny + 1
15121512
nnodz = nz + 1
15131513

1514-
xcoor = collect(range(coord_x[1], coord_x[2], length=nnodx))
1515-
ycoor = collect(range(coord_y[1], coord_y[2], length=nnody))
1516-
zcoor = collect(range(coord_z[1], coord_z[2], length=nnodz))
1514+
xcoor = range(coord_x[1], coord_x[2], length=nnodx)
1515+
ycoor = range(coord_y[1], coord_y[2], length=nnody)
1516+
zcoor = range(coord_z[1], coord_z[2], length=nnodz)
15171517

15181518
check_multigrid_compatibility(nx, ny, nz, n_ranks, verbose)
15191519

0 commit comments

Comments
 (0)