Skip to content

Commit

Permalink
typo in gradient_test
Browse files Browse the repository at this point in the history
  • Loading branch information
pawbz committed Aug 13, 2018
1 parent e0c01f0 commit 6962671
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/FWI/gradient_accuracy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tgrid=acqsrc.tgrid
for attrib_mod in [JF.ModFdtd(), JF.ModFdtdBorn()]
pa=JF.Param(acqsrc, acqgeom, tgrid, attrib_mod, model0,
modm_obs=model,
modm0=model0,
igrid_interp_scheme=:B2,
igrid=Grid.M2D_resamp(model.mgrid, 300.,300.,),
parameterization=[:χvp, :χρ, :null], verbose=false,
Expand All @@ -22,6 +23,7 @@ tgrid=acqsrc.tgrid

pa_parallel=JF.Param(acqsrc, acqgeom, tgrid, attrib_mod, model0,
modm_obs=model,
modm0=model0,
igrid_interp_scheme=:B2,
igrid=Grid.M2D_resamp(model.mgrid, 300.,300.,),
parameterization=[:χvp, :χρ, :null], verbose=false,
Expand Down Expand Up @@ -57,6 +59,7 @@ end
@test f<1e-15
end


@testset "Testing Born Modeling and its gradient" begin

pa=JF.Param(acqsrc, acqgeom, tgrid, JF.ModFdtdBorn(), model0,
Expand Down

0 comments on commit 6962671

Please sign in to comment.