From b7a0ee52f1fc3f521eae2d889c1d7002c2cc6574 Mon Sep 17 00:00:00 2001 From: pnenzi Date: Fri, 4 Jan 2008 14:13:34 +0000 Subject: [PATCH] Commented out code that prevented rawfile generation. --- ChangeLog | 6 ++++++ src/frontend/runcoms.c | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 23e83bd27..35af89c08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-04 Paolo Nenzi + * src/frontend/runcoms.c: commented out code that did not allow rawfile + generation for OP and AC analyses. Now rawfile is generated even for + OP and AC. I do not know if this is consistent with spice philosopy but + I think is nice to have. + 2008-01-03 Dietmar Warning * src/main.c: rflag still needed. diff --git a/src/frontend/runcoms.c b/src/frontend/runcoms.c index ed1664d17..7e8a4acd9 100644 --- a/src/frontend/runcoms.c +++ b/src/frontend/runcoms.c @@ -358,13 +358,16 @@ bool ft_getOutReq(FILE **fpp, struct plot **plotp, bool *binp, char *name, char *title) { /*struct plot *pl;*/ -#ifndef BATCH +/* PN: the following code prevents operating point an AC analysis + * dump in the rawfile -- it is still needed ? + */ +/* #ifndef BATCH if ( (strcmp(name, "Operating Point")==0) || - (strcmp(name, "AC Operating Point")==0) ) { + (strcmp(name, "AC Operating Point")==0) ) { return (FALSE); }; -#endif +#endif */ if (rawfileFp) { *fpp = rawfileFp;