Skip to content

Commit 3e4956e

Browse files
committed
Int
1 parent 1d90b74 commit 3e4956e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

couple_inversion_cross_reflect.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ dtS = dtR = 1f0
154154
ntS = Int(floor(timeS/dtS))+1
155155
ntR = Int(floor(timeR/dtR))+1
156156

157-
xsrc = convertToCell(vcat(range(5*d[1],stop=5*d[1],length=nsrc/2),range(d[1],stop=(n[1]-1)*d[1],length=nsrc/2)))
157+
xsrc = convertToCell(vcat(range(5*d[1],stop=5*d[1],length=Int(nsrc/2)),range(d[1],stop=(n[1]-1)*d[1],length=Int(nsrc/2))))
158158
ysrc = convertToCell(range(0f0,stop=0f0,length=nsrc))
159-
zsrc = convertToCell(vcat(range(15*d[2],stop=(n[2]-15)*d[2],length=nsrc/2),range(10f0,stop=10f0,length=nsrc/2)))
159+
zsrc = convertToCell(vcat(range(15*d[2],stop=(n[2]-15)*d[2],length=Int(nsrc/2)),range(10f0,stop=10f0,length=Int(nsrc/2))))
160160

161-
xrec = vcat(range((n[1]-5)*d[1],stop=(n[1]-5)*d[1], length=nrec/2),range(d[1],stop=(n[1]-1)*d[1],length=nrec/2))
161+
xrec = vcat(range((n[1]-5)*d[1],stop=(n[1]-5)*d[1], length=Int(nrec/2)),range(d[1],stop=(n[1]-1)*d[1],length=Int(nrec/2)))
162162
yrec = 0f0
163-
zrec = vcat(range(d[2],stop=(n[2]-1)*d[2],length=nrec/2),range(10f0,stop=10f0,length=nrec/2))
163+
zrec = vcat(range(d[2],stop=(n[2]-1)*d[2],length=Int(nrec/2)),range(10f0,stop=10f0,length=Int(nrec/2)))
164164

165165
srcGeometry = Geometry(xsrc, ysrc, zsrc; dt=dtS, t=timeS)
166166
recGeometry = Geometry(xrec, yrec, zrec; dt=dtR, t=timeR, nsrc=nsrc)

0 commit comments

Comments
 (0)