Skip to content
Snippets Groups Projects
Commit 7b445d52 authored by pdollar's avatar pdollar
Browse files

MatlabAp/CocoApi.m: fixed small bug pointed out by jingyan1216

parent 619a67e8
Branches
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ classdef CocoApi
[catNms,supNms,catIds] = getPrmDflt(varargin,def,1);
if(~isempty(catNms)), t = t(ismember({t.name},catNms)); end
if(~isempty(supNms)), t = t(ismember({t.supercategory},supNms)); end
if(~isempty(catIds)), t = t(ismember([t.ids],catIds)); end
if(~isempty(catIds)), t = t(ismember([t.id],catIds)); end
ids = [t.id];
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment