Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
fc4c1fcc
Commit
fc4c1fcc
authored
Nov 30, 2010
by
Alexander Wiebel
Browse files
[FIX] it is a pointer
parent
4d28de00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/common/datastructures/WDendrogram.cpp
src/common/datastructures/WDendrogram.cpp
+3
-3
No files found.
src/common/datastructures/WDendrogram.cpp
View file @
fc4c1fcc
...
...
@@ -51,9 +51,9 @@ size_t WDendrogram::merge( size_t i, size_t j, double height )
m_parents
.
push_back
(
m_parents
.
size
()
);
// the root s always self referencing
#ifdef DEBUG
m_heights
->
at
(
m_parents
.
size
()
-
2
-
m_heights
.
size
()
)
=
height
;
m_parents
->
at
(
i
)
=
m_parents
.
size
()
-
1
;
m_parents
->
at
(
j
)
=
m_parents
.
size
()
-
1
;
m_heights
.
at
(
m_parents
.
size
()
-
2
-
m_heights
.
size
()
)
=
height
;
m_parents
.
at
(
i
)
=
m_parents
.
size
()
-
1
;
m_parents
.
at
(
j
)
=
m_parents
.
size
()
-
1
;
#else
m_heights
[
m_parents
.
size
()
-
2
-
m_heights
.
size
()
]
=
height
;
m_parents
[
i
]
=
m_parents
.
back
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment