In the definition of the Solow class a function h is defined as follows:
def h(self,x):
"Evaluate the h function"
temp = self.s * self.z * self.k**self.alpha + self.k * (1 - self.d)
return temp / (1 + self.n)
I think it makes more sense to replace self.k
by x
in the function body or otherwise drop the x formal argument altogether.
Chris