Skip to content

Commit

Permalink
report timefuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Dec 23, 2024
1 parent ddf8659 commit 81d7f6c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/nbody/trans/snaptrim.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ string defv[] = {
#if defined(INTERACT)
"more=y\n needs interactive SETPARAM part",
#endif
"VERSION=2.2a\n 8-may-2023 PJT/WD",
"VERSION=2.3\n 23-dec-2024 PJT",
NULL,
};

#define TimeFuzz 0.00001 /* slop tolerated in time comparisons */

string usage="cut a snapshot file down to size";


Expand Down Expand Up @@ -82,7 +80,8 @@ void nemo_main()
if (!Qnear)
timefuzz = getdparam("timefuzz");
else
timefuzz = TimeFuzz;
timefuzz = TIMEFUZZ;
dprintf(0,"Using timefuzz=%g\n", timefuzz);

Qfirst = streq(times,"first");
Qlast = streq(times,"last");
Expand Down

0 comments on commit 81d7f6c

Please sign in to comment.