function x=closed2hopen(x)
% closed2hopen - convert closed interval to half-open interval
%
% closed2hopen :: [[N,2]] -> [[N,2]]
%
% The second column is assumed to be the upper limit of a closed
% interval. These upper limits are incremented to the next floating
% point number so that the result can be interpreted as a half-open
% interval equivalent to the original closed interval.

mx=x(:,2);
x(:,2)=mx+eps(mx);
