From 92ad6b0782360f7087f4ba2b955ba586535a624b Mon Sep 17 00:00:00 2001 From: Jan Thorbecke <janth@xs4all.nl> Date: Tue, 5 Jun 2018 16:47:43 +0200 Subject: [PATCH] bug fix --- fdelmodc/writeRec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdelmodc/writeRec.c b/fdelmodc/writeRec.c index 6c2ce08..a12843e 100644 --- a/fdelmodc/writeRec.c +++ b/fdelmodc/writeRec.c @@ -84,7 +84,7 @@ int writeRec(recPar rec, modPar mod, bndPar bnd, wavPar wav, int ixsrc, int izsr hdr.trid = 1; hdr.ns = nsam; hdr.trwf = rec.n; - hdr.ntr = (ishot+1)*rec.n; + hdr.ntr = rec.n; if (mod.grid_dir) { /* reverse time modeling */ hdr.f1 = (-mod.nt+1)*mod.dt; } -- GitLab