Skip to content
Snippets Groups Projects
Commit e8dfe33a authored by Laura Nervo's avatar Laura Nervo Committed by Nicola Vigano
Browse files

Using gtError for error messages...


Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@995 4c865b51-4357-4376-afb4-474e03ccb993
parent 794cb466
No related branches found
No related tags found
No related merge requests found
......@@ -39,11 +39,10 @@ end
% toBeFound = toBeFound';
% end
if size(whereToFind,2)~=size(toBeFound,2) && ~isPartial
error('The size in the second dimension of a and b must be equal.')
gtError('findDifferentRowIntoMatrix:wrongSize','The size in the second dimension of a and b must be equal.')
end
if ~isPartial
disp('Using ''rows'' option in find...')
[matched,ia,ib] = intersect(whereToFind,toBeFound,'rows','R2012a');
return;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment