Skip to content

Commit 4b5197d

Browse files
Update softening.h
1 parent 9820439 commit 4b5197d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/dt/softening.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#pragma once
1313
#include <cmath>
14+
#include "floatdef.h"
1415

1516
/* Softening for BarnesHut */
1617
inline real nextSoftening(real nodeSize,
@@ -53,4 +54,4 @@ inline real pairSoftening(real ma, real mb)
5354
eps = eps_min;
5455

5556
return eps; // return epsilon
56-
}
57+
}

0 commit comments

Comments
 (0)