Python 3 fixes

This commit is contained in:
Mike Croucher 2015-06-23 01:26:52 -07:00
parent e58cc51c47
commit e7d1277e62
17 changed files with 52 additions and 48 deletions

View file

@ -142,7 +142,7 @@ class opt_lbfgsb(Optimizer):
#a more helpful error message is available in opt_result in the Error case
if opt_result[2]['warnflag']==2:
self.status = 'Error' + opt_result[2]['task']
self.status = 'Error' + str(opt_result[2]['task'])
class opt_simplex(Optimizer):
def __init__(self, *args, **kwargs):