made the baker method return final = qlin for linear interps

This commit is contained in:
Stephen McQuay 2011-05-20 11:12:40 -06:00
parent 492c7d7eea
commit ae52881e55

View File

@ -170,6 +170,7 @@ def run_baker(X, R, S, order=2):
if order == 1: if order == 1:
answer['qlin'] = qlin answer['qlin'] = qlin
answer['final'] = qlin
return answer return answer
elif order in xrange(2,11): elif order in xrange(2,11):
error_term, abc = get_error(phi, R, S, order) error_term, abc = get_error(phi, R, S, order)