Browse Source

src/frontend/outitf.c, bug fix, "resume" causing segment violation

introduced in commit
  "noisean, deliver results in V/sqrt(Hz) and A/sqrt(Hz)"

analysisPtr is NULL when beginPlot() is invoked to "resume"
pre-master-46
rlar 11 years ago
parent
commit
5d19c99e94
  1. 5
      src/frontend/outitf.c

5
src/frontend/outitf.c

@ -143,11 +143,6 @@ beginPlot(JOB *analysisPtr, CKTcircuit *circuitPtr, char *cktName, char *analNam
*All it does is reassign the file pointer and return (requires *runp to be NULL if this is not needed) *All it does is reassign the file pointer and return (requires *runp to be NULL if this is not needed)
*/ */
if (strcmp("NOISE", spice_analysis_get_name(analysisPtr->JOBtype))) {
fixme_onoise_type = SV_NOTYPE;
fixme_inoise_type = SV_NOTYPE;
}
if (dataType == 666 && numNames == 666) { if (dataType == 666 && numNames == 666) {
run = *runp; run = *runp;
run->writeOut = ft_getOutReq(&run->fp, &run->runPlot, &run->binary, run->writeOut = ft_getOutReq(&run->fp, &run->runPlot, &run->binary,

Loading…
Cancel
Save