Update cv3/program.c
This commit is contained in:
parent
79ae837cbe
commit
d55fc0686d
@ -19,7 +19,7 @@ void push_stack(struct stack *s, float value) {
|
||||
s->size++;
|
||||
} else {
|
||||
printf("full stack\n");
|
||||
exit(1); // Exit the program on overflow
|
||||
exit(0); // Exit the program on overflow
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user