From 6962671e1700a2da19d914490addd141277b966f Mon Sep 17 00:00:00 2001 From: Pawan Bharadwaj Date: Mon, 13 Aug 2018 00:22:16 -0400 Subject: [PATCH] typo in gradient_test --- test/FWI/gradient_accuracy.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/FWI/gradient_accuracy.jl b/test/FWI/gradient_accuracy.jl index 3ccb0629..ede221dd 100644 --- a/test/FWI/gradient_accuracy.jl +++ b/test/FWI/gradient_accuracy.jl @@ -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, @@ -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, @@ -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,