Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cocoapi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
National Facility
cocoapi
Commits
7b445d52
Commit
7b445d52
authored
9 years ago
by
pdollar
Browse files
Options
Downloads
Patches
Plain Diff
MatlabAp/CocoApi.m: fixed small bug pointed out by jingyan1216
parent
619a67e8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
MatlabAPI/CocoApi.m
+1
-1
1 addition, 1 deletion
MatlabAPI/CocoApi.m
with
1 addition
and
1 deletion
MatlabAPI/CocoApi.m
+
1
−
1
View file @
7b445d52
...
...
@@ -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
.
id
s
],
catIds
));
end
if
(
~
isempty
(
catIds
)),
t
=
t
(
ismember
([
t
.
id
],
catIds
));
end
ids
=
[
t
.
id
];
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment