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
SWIFT
SWIFTsim
Commits
1d471493
Commit
1d471493
authored
Feb 19, 2020
by
Loic Hausammann
Browse files
Logger: set logger flag on a single line
parent
226532a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
1d471493
...
...
@@ -1223,10 +1223,8 @@ int main(int argc, char *argv[]) {
if
(
with_logger
)
e
.
policy
&=
~
engine_policy_logger
;
engine_redistribute
(
&
e
);
if
(
with_logger
)
{
/* Turn it back on */
e
.
policy
|=
engine_policy_logger
;
}
/* Turn it back on */
if
(
with_logger
)
e
.
policy
|=
engine_policy_logger
;
#endif
/* Initialise the particles */
...
...
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