Browse Source

enable 'temper' evaluation, if circuit is reloaded

pre-master-46
Holger Vogt 8 years ago
parent
commit
8f41257d87
  1. 4
      src/frontend/inp.c

4
src/frontend/inp.c

@ -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…
Cancel
Save