File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,12 @@ def __str__(self):
92
92
if self .diagnostic_info is not None :
93
93
output += "Diagnostic information available; check self.diagnostic_info\n "
94
94
output += "Solution xmin was evaluation point %g\n " % self .xmin_eval_num
95
- if len (self .jacmin_eval_nums ) < 100 :
95
+ if self . jacmin_eval_nums is not None and len (self .jacmin_eval_nums ) < 100 :
96
96
output += "Approximate Jacobian formed using evaluation points %s\n " % str (self .jacmin_eval_nums )
97
+ elif self .jacmin_eval_nums is None :
98
+ output += "Approximate Jacobian not formed using problem information, disregard\n "
99
+ else :
100
+ output += "Not showing Jacobian evaluation points because it is too long; check self.jacmin_eval_nums\n "
97
101
output += "Exit flag = %g\n " % self .flag
98
102
output += "%s\n " % self .msg
99
103
output += "****************************\n "
You can’t perform that action at this time.
0 commit comments