function S = sum(disc)
%SUM    Integration functional for CHEBCOLLOC. 

% Copyright 2017 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.

[ignored, S] = functionPoints(disc);

end
