Update lennardjones.c

This commit is contained in:
nilsberglund-orleans authored and GitHub committed 2022-05-18 08:45:19 +02:00
1 parent 94c5920307
commit 111822f852
1 file changed
+1 -1
+1 -1
View File
@@ -783,7 +783,7 @@ void animation()
thermostat_on = thermostat_schedule(i);
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;
blank();