solve bug with some poly evaluation!!

This commit is contained in:
lafrite
2015-06-21 20:43:38 +02:00
parent 2e8cd9dd48
commit ab0862e10a
5 changed files with 91 additions and 39 deletions

View File

@@ -21,6 +21,7 @@ def report(fn):
))
print( "Call %s%s called [#%s]"
% (indent, fc, call))
__report_indent[0] += 1
ret = fn(*params,**kwargs)
@@ -29,7 +30,10 @@ def report(fn):
print(' '*(__report_indent[0]+4), "ret.steps -> ", len(ret.steps))
except AttributeError:
print(' '*(__report_indent[0]+4), ret, " has no steps")
print( "End %s%s returned %s [#%s]"
#% (indent, fc, repr(ret), call))
#% (indent, fc, [i for i in ret.postfix_tokens], call))
% (indent, fc, repr(ret), call))
return ret