enable 'temper' evaluation, if circuit is reloaded
This commit is contained in:
parent
9c5115cd00
commit
8f41257d87
|
|
@ -391,8 +391,10 @@ inp_spsource(FILE *fp, bool comfile, char *filename, bool intfile)
|
||||||
}
|
}
|
||||||
/* called with *fp == NULL and not intfile: we want to reload circuit from mc_deck */
|
/* called with *fp == NULL and not intfile: we want to reload circuit from mc_deck */
|
||||||
else {
|
else {
|
||||||
if (mc_deck)
|
if (mc_deck) {
|
||||||
deck = inp_deckcopy(mc_deck);
|
deck = inp_deckcopy(mc_deck);
|
||||||
|
expr_w_temper = TRUE;
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
fprintf(stderr, "Error: No circuit loaded, cannot copy internally using mc_source\n");
|
fprintf(stderr, "Error: No circuit loaded, cannot copy internally using mc_source\n");
|
||||||
controlled_exit(1);
|
controlled_exit(1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue