do not write positive error if parameter was fixed

This commit is contained in:
nemu 2008-05-21 17:28:54 +00:00
parent 202dba4834
commit badcc28f34

View File

@ -312,7 +312,7 @@ int PMsrHandler::WriteMsrLogFile()
f.width(11); f.width(11);
f.precision(prec); f.precision(prec);
if ((fParam[i].fNoOfParams == 5) || (fParam[i].fNoOfParams == 7)) // pos. error given if ((fParam[i].fNoOfParams == 5) || (fParam[i].fNoOfParams == 7)) // pos. error given
if (fParam[i].fPosErrorPresent) // pos error is a number if (fParam[i].fPosErrorPresent && (fParam[i].fStep != 0)) // pos error is a number
f << left << fParam[i].fPosError; f << left << fParam[i].fPosError;
else // pos error is a none else // pos error is a none
f << left << "none"; f << left << "none";