rlar 14 years ago
parent
commit
0e1f5a29f7
  1. 13
      ChangeLog
  2. 2
      src/frontend/breakp2.c
  3. 2
      src/frontend/outitf.c
  4. 2
      src/include/ngspice/ftedefs.h
  5. 2
      src/spicelib/analysis/cktsens.c

13
ChangeLog

@ -1,16 +1,23 @@
2011-12-17 Robert Larice
* src/frontend/breakp2.c ,
* src/frontend/outitf.c ,
* src/include/ngspice/ftedefs.h ,
* src/spicelib/analysis/cktsens.c :
type fixes
2011-12-17 Holger Vogt 2011-12-17 Holger Vogt
* src/frontend/inp.c, * src/frontend/inp.c,
src/frontend/options.c src/frontend/options.c
src/include/ngspice/fteext.h : src/include/ngspice/fteext.h :
variable ft_stricterror to exit ngspice with exit code 1 variable ft_stricterror to exit ngspice with exit code 1
if any error occurs during circuit parsing.
if any error occurs during circuit parsing.
Usage maybe extended to other errors. Usage maybe extended to other errors.
Tradditionally ngspice uses to continue, issue error messages, Tradditionally ngspice uses to continue, issue error messages,
deliver wrong results and exit with exit code 0. deliver wrong results and exit with exit code 0.
2011-12-16 Holger Vogt 2011-12-16 Holger Vogt
* src/frontend/subckt.c: beautify code * src/frontend/subckt.c: beautify code
2011-12-15 Robert Larice 2011-12-15 Robert Larice
* configure.ac , * configure.ac ,
* src/frontend/inpcom.c , * src/frontend/inpcom.c ,

2
src/frontend/breakp2.c

@ -117,7 +117,7 @@ ft_getSaves(struct save_info **savesp)
if (d->db_type == DB_SAVE) { if (d->db_type == DB_SAVE) {
array[i].used = 0; array[i].used = 0;
if (d->db_analysis) if (d->db_analysis)
array[i].analysis = (IFuid *) copy(d->db_analysis);
array[i].analysis = copy(d->db_analysis);
else else
array[i].analysis = NULL; array[i].analysis = NULL;
array[i++].name = copy(d->db_nodename1); array[i++].name = copy(d->db_nodename1);

2
src/frontend/outitf.c

@ -177,7 +177,7 @@ beginPlot(JOB *analysisPtr, CKTcircuit *circuitPtr, char *cktName, char *analNam
savesused = TMALLOC(bool, numsaves); savesused = TMALLOC(bool, numsaves);
saveall = FALSE; saveall = FALSE;
for (i = 0; i < numsaves; i++) { for (i = 0; i < numsaves; i++) {
if (saves[i].analysis && !cieq((char *)saves[i].analysis, an_name)) {
if (saves[i].analysis && !cieq(saves[i].analysis, an_name)) {
/* ignore this one this time around */ /* ignore this one this time around */
savesused[i] = TRUE; savesused[i] = TRUE;
continue; continue;

2
src/include/ngspice/ftedefs.h

@ -19,7 +19,7 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
struct save_info { struct save_info {
char *name; char *name;
IFuid *analysis;
IFuid analysis;
int used; int used;
}; };

2
src/spicelib/analysis/cktsens.c

@ -81,7 +81,7 @@ int sens_sens(CKTcircuit *ckt, int restart)
static int is_dc; static int is_dc;
int k, j, n; int k, j, n;
int num_vars, branch_eq=0; int num_vars, branch_eq=0;
char *sen_data=NULL;
void *sen_data = NULL;
char namebuf[513]; char namebuf[513];
IFuid *output_names, freq_name; IFuid *output_names, freq_name;
int bypass; int bypass;

Loading…
Cancel
Save