Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Falkolib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
algorithms
Falkolib
Commits
dff8afb6
Commit
dff8afb6
authored
4 years ago
by
Sergi Pujol
Browse files
Options
Downloads
Patches
Plain Diff
corrected leak memory in AHTMatcher.h
parent
327bafa8
No related branches found
No related tags found
1 merge request
!1
Devel MG
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/falkolib/Matching/AHTMatcher.h
+2
-0
2 additions, 0 deletions
include/falkolib/Matching/AHTMatcher.h
with
2 additions
and
0 deletions
include/falkolib/Matching/AHTMatcher.h
+
2
−
0
View file @
dff8afb6
...
...
@@ -138,6 +138,8 @@ namespace falkolib {
/** @brief get best matching given point and an initial guest associations list*/
int
getBestMatching
(
const
std
::
vector
<
T
>&
v1
,
const
std
::
vector
<
T
>&
v2
,
const
std
::
vector
<
std
::
pair
<
int
,
int
>
>&
init
,
std
::
vector
<
std
::
pair
<
int
,
int
>
>&
match
)
{
for
(
auto
&
cell
:
matchesGrid
)
cell
.
clear
();
for
(
auto
&
asso
:
init
)
{
for
(
int
it
=
0
;
it
<
thetaSize
;
++
it
)
{
double
theta
=
thetaRes
*
(
it
-
thetaSize
/
2
);
...
...
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