enable 'temper' evaluation, if circuit is reloaded

This commit is contained in:
Holger Vogt 2018-05-14 07:56:11 +02:00
parent 9c5115cd00
commit 8f41257d87
1 changed files with 3 additions and 1 deletions

View File

@ -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 */
else {
if (mc_deck)
if (mc_deck) {
deck = inp_deckcopy(mc_deck);
expr_w_temper = TRUE;
}
else {
fprintf(stderr, "Error: No circuit loaded, cannot copy internally using mc_source\n");
controlled_exit(1);