scipy.integrate.nquad bounds from a class. TypeError: toy_class.gen_bounds..x_bounds() takes 0 positional arguments but 1 was given
I am trying to get the bounds of integration from a class and then pass those bounds to scipy.integrate.nquad
, but there is a type error when calling either of the functions that return the bounds of integration.