function z = eq( x, y )
if ~isa( x, class( y ) )
    error( 'cvxprob objects may only be compared to each other.' );
else
    z = cvx_id( x ) == cvx_id( y );
end

% Copyright 2012 Michael C. Grant and Stephen P. Boyd.
% See the file COPYING.txt for full copyright information.
% The command 'cvx_where' will show where this file is located.
