Guard against vector "time" not being available

This commit is contained in:
Holger Vogt 2021-01-28 17:01:30 +01:00
parent c8a7b69190
commit 433a76a1f2
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ beginPlot(JOB *analysisPtr, CKTcircuit *circuitPtr, char *cktName, char *analNam
addDataDesc(run, dataNames[i], dataType, i, initmem);
}
/* generate a vector of real time information */
if (ft_ngdebug && eq(refName, "time")) {
if (ft_ngdebug && refName && eq(refName, "time")) {
addDataDesc(run, "speedcheck", IF_REAL, numNames, initmem);
}
}