We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73dd9ab commit 4af17ccCopy full SHA for 4af17cc
1 file changed
src/potential.c
@@ -34,9 +34,9 @@ void compute_potential(real dt) {
34
if (ThereIsACentralBinary)
35
subcycling = 30; /* Arbitrary number of subcycles which
36
should fit most needs */
37
- if (!FLAG_PRES)
38
- for (i = 0; i < subcycling; i++)
39
- FARGO_SAFE(AdvanceSystemRK5(1.0/((double)(subcycling))*dt));
+
+ for (i = 0; i < subcycling; i++)
+ FARGO_SAFE(AdvanceSystemRK5(1.0/((double)(subcycling))*dt));
40
41
alreadycalculated = Timestepcount;
42
0 commit comments