Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
922467f1
Commit
922467f1
authored
Mar 15, 2021
by
niklas.baumgarten
Browse files
bug fixes
parent
c2c28714
Changes
2
Hide whitespace changes
Inline
Side-by-side
mlmc/src/basics/Level.cpp
View file @
922467f1
...
...
@@ -4,6 +4,7 @@
void
Level
::
Update
(
int
level
)
{
fine
=
level
;
coarse
=
level
-
1
;
if
(
coarse
<
0
)
coarse
=
0
;
pLevel
=
coarse
;
}
...
...
mlmc/src/basics/Level.hpp
View file @
922467f1
...
...
@@ -27,7 +27,7 @@ struct Level {
void
Update
(
int
level
);
int
ActualLevel
(
bool
getCoarse
)
const
{
if
(
getCoarse
)
return
fine
;
if
(
!
getCoarse
)
return
fine
;
else
return
coarse
;
};
...
...
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