Update lennardjones.c

This commit is contained in:
nilsberglund-orleans
2022-05-18 08:45:19 +02:00
committed by GitHub
parent 94c5920307
commit 111822f852

View File

@@ -783,7 +783,7 @@ void animation()
thermostat_on = thermostat_schedule(i); thermostat_on = thermostat_schedule(i);
printf("Termostat: %i\n", thermostat_on); printf("Termostat: %i\n", thermostat_on);
} }
if ((DEACTIVATE_SEGMENT)&&(i > INITIAL_TIME + SEGMENT_DEACTIVATION_TIME)) if ((ADD_FIXED_SEGMENTS)&&(DEACTIVATE_SEGMENT)&&(i > INITIAL_TIME + SEGMENT_DEACTIVATION_TIME))
segment[nsegments-1].active = 0; segment[nsegments-1].active = 0;
blank(); blank();