Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
919e020d
Commit
919e020d
authored
Jul 01, 2019
by
Jan Möbius
Browse files
Merge branch 'iter-fixes' into 'master'
Fix operator-- in some of the new iterators See merge request
!69
parents
eacdcab4
32211d77
Pipeline
#11189
passed with stage
in 6 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/OpenVolumeMesh/Core/Iterators.cc
View file @
919e020d
...
...
@@ -1510,7 +1510,7 @@ CellHalfFaceIterImpl& CellHalfFaceIterImpl::operator--() {
const
std
::
vector
<
HalfFaceHandle
>&
halffaces
=
BaseIter
::
mesh
()
->
cell
(
ref_handle_
).
halffaces
();
if
(
hf_iter_
==
halffaces
.
begin
())
{
hf_iter_
=
=
halffaces
.
end
();
hf_iter_
=
halffaces
.
end
();
--
lap_
;
if
(
lap_
<
0
)
BaseIter
::
valid
(
false
);
...
...
@@ -1555,7 +1555,7 @@ CellFaceIterImpl& CellFaceIterImpl::operator--() {
const
std
::
vector
<
HalfFaceHandle
>&
halffaces
=
BaseIter
::
mesh
()
->
cell
(
ref_handle_
).
halffaces
();
if
(
hf_iter_
==
halffaces
.
begin
())
{
hf_iter_
=
=
halffaces
.
end
();
hf_iter_
=
halffaces
.
end
();
--
lap_
;
if
(
lap_
<
0
)
BaseIter
::
valid
(
false
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment