diff --git a/resis/ResReadSim.c b/resis/ResReadSim.c index 71eb6cc8..5147fe67 100644 --- a/resis/ResReadSim.c +++ b/resis/ResReadSim.c @@ -198,10 +198,10 @@ ResReadSim(simfile, fetproc, capproc, resproc, attrproc, mergeproc, subproc) result = 1; break; } - if (fettype < 0) + if ((fettype != MINFINITY) && (fettype < 0)) { - TxError("Error in Reading device line of sim file:"); - TxError("Amgiguous or unknown device.\n"); + TxError("Error in Reading device line of sim file: "); + TxError("Ambiguous or unknown device.\n"); result = 1; } else if (fettype == DBNumTypes)