Oh wow, not sure how that happened--I actually have a commit further back titled something like "reimplementing integ1d method" but apparently I deleted the integral line instead of the summation line? Yikes. Anyway, the code for this exists in an earlier diff, will put it back, sorry.  (And thanks for the other comments as well, of course.)