fixes #7827

Added _eval_integral method to summations
Please add this line after docstring.