fixes #7827

Added _eval_integral method to summations