Skip to content

Commit

Permalink
ansi C fix
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Oct 21, 2024
1 parent 6532762 commit b200d1d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nbody/trans/snapdens.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,12 @@ string defv[] = {
"tfactor=-1.0\n conversion factor v->r [virial=sqrt(2)]",
"nn=f\n add NN index to the Key field?",
"ndim=3\n 3dim or 2dim densities?",
"VERSION=1.5c\n 5-apr-2006 PJT",
"VERSION=1.5d\n 20-oct-2024 PJT",
NULL,
};

string usage="density estimator using Kth-nearest neighbor";

string cvsid="$Id$";


#define FAC1 4.188790203 /* 4.pi/3 */
#define FAC2 15.74960994 /* (2.pi)^(3/2) */
Expand All @@ -73,7 +71,7 @@ local real raddif(Body *, Body *);
local void stat_nn(Body *);


nemo_main()
void nemo_main()
{
stream instr, outstr;
real tsnap, dm;
Expand Down

0 comments on commit b200d1d

Please sign in to comment.