Skip to content

Commit 4af17cc

Browse files
authored
Update potential.c
1 parent 73dd9ab commit 4af17cc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/potential.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ void compute_potential(real dt) {
3434
if (ThereIsACentralBinary)
3535
subcycling = 30; /* Arbitrary number of subcycles which
3636
should fit most needs */
37-
if (!FLAG_PRES)
38-
for (i = 0; i < subcycling; i++)
39-
FARGO_SAFE(AdvanceSystemRK5(1.0/((double)(subcycling))*dt));
37+
38+
for (i = 0; i < subcycling; i++)
39+
FARGO_SAFE(AdvanceSystemRK5(1.0/((double)(subcycling))*dt));
4040

4141
alreadycalculated = Timestepcount;
4242

0 commit comments

Comments
 (0)