Code cleaning and enabled maximum verbosity in debug code.
This commit is contained in:
parent
858f0442eb
commit
fabfd87abd
|
|
@ -3,7 +3,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
#include "ngspice.h"
|
#include "ngspice.h"
|
||||||
#include <stdio.h>
|
|
||||||
#include "pzdefs.h"
|
#include "pzdefs.h"
|
||||||
#include "smpdefs.h"
|
#include "smpdefs.h"
|
||||||
#include "cktdefs.h"
|
#include "cktdefs.h"
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ngspice.h"
|
#include "ngspice.h"
|
||||||
#include <stdio.h>
|
|
||||||
#include "smpdefs.h"
|
#include "smpdefs.h"
|
||||||
#include "cktdefs.h"
|
#include "cktdefs.h"
|
||||||
#include "devdefs.h"
|
#include "devdefs.h"
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
#ifdef PZDEBUG
|
#ifdef PZDEBUG
|
||||||
# ifndef notdef
|
# ifndef notdef
|
||||||
# define DEBUG(N) if (Debug >= (unsigned) (N))
|
# define DEBUG(N) if (Debug >= (unsigned) (N))
|
||||||
static unsigned int Debug = 1;
|
static unsigned int Debug = 3;
|
||||||
# else
|
# else
|
||||||
# define DEBUG(N) if (0)
|
# define DEBUG(N) if (0)
|
||||||
# endif
|
# endif
|
||||||
|
|
@ -719,12 +719,13 @@ CKTpzRunTrial(CKTcircuit *ckt, PZtrial **new_trialp, PZtrial **set)
|
||||||
else {
|
else {
|
||||||
|
|
||||||
/* PZnumswaps is either 0 or 1 */
|
/* PZnumswaps is either 0 or 1 */
|
||||||
new_trial->f_raw.real *= ((PZAN *) ckt->CKTcurJob)->PZnumswaps;
|
new_trial->f_raw.real *= ((PZAN *) ckt->CKTcurJob)->PZnumswaps;
|
||||||
new_trial->f_raw.imag *= ((PZAN *) ckt->CKTcurJob)->PZnumswaps;
|
new_trial->f_raw.imag *= ((PZAN *) ckt->CKTcurJob)->PZnumswaps;
|
||||||
/*
|
|
||||||
|
#ifdef PZDEBUG
|
||||||
printf("SMP Det: (%g,%g)^%d\n", new_trial->f_raw.real,
|
printf("SMP Det: (%g,%g)^%d\n", new_trial->f_raw.real,
|
||||||
new_trial->f_raw.imag, new_trial->mag_raw);
|
new_trial->f_raw.imag, new_trial->mag_raw);
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
new_trial->f_def.real = new_trial->f_raw.real;
|
new_trial->f_def.real = new_trial->f_raw.real;
|
||||||
new_trial->f_def.imag = new_trial->f_raw.imag;
|
new_trial->f_def.imag = new_trial->f_raw.imag;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
#include "ngspice.h"
|
#include "ngspice.h"
|
||||||
#include <stdio.h>
|
|
||||||
#include "complex.h"
|
#include "complex.h"
|
||||||
#include "cktdefs.h"
|
#include "cktdefs.h"
|
||||||
#include "smpdefs.h"
|
#include "smpdefs.h"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue