else:
__doc__ = ""
#
- msgs = " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
- msgs += " " + self._parameters["ResultTitle"] + "\n"
- msgs += " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
+ if len(self._parameters["ResultTitle"]) > 0:
+ msgs = " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
+ msgs += " " + self._parameters["ResultTitle"] + "\n"
+ msgs += " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
+ else:
+ msgs = ""
msgs += __doc__
#
msg = " i Alpha ||X|| ||Y|| ||dX|| R(Alpha) "
else:
__doc__ = ""
#
- msgs = " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
- msgs += " " + self._parameters["ResultTitle"] + "\n"
- msgs += " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
+ if len(self._parameters["ResultTitle"]) > 0:
+ msgs = " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
+ msgs += " " + self._parameters["ResultTitle"] + "\n"
+ msgs += " ====" + "="*len(self._parameters["ResultTitle"]) + "====\n"
+ else:
+ msgs = ""
msgs += __doc__
#
msg = " i Alpha ||X|| ||F(X)|| ||F(X+dX)|| ||dX|| ||F(X+dX)-F(X)|| ||F(X+dX)-F(X)||/||dX|| R(Alpha) "