diff --git a/fdelmodc/writeRec.c b/fdelmodc/writeRec.c index 6c2ce08a7b4c2ecd1932bed0dafe58c3a5b2c4bf..a12843e2fcd181612fa65e112a9df82da69109e4 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; }