Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
SWIFT
SWIFTsim
Commits
e7780133
Commit
e7780133
authored
5 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Applied code formatting tool.
parent
5f957a1f
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!930
Parco 2019 debug
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common_io.c
+2
-2
2 additions, 2 deletions
src/common_io.c
src/serial_io.c
+2
-2
2 additions, 2 deletions
src/serial_io.c
with
4 additions
and
4 deletions
src/common_io.c
+
2
−
2
View file @
e7780133
...
...
@@ -1805,8 +1805,8 @@ void io_check_output_fields(const struct swift_params* params,
/* loop over each possible output field */
for
(
int
field_id
=
0
;
field_id
<
num_fields
;
field_id
++
)
{
char
field_name
[
PARSER_MAX_LINE_SIZE
];
sprintf
(
field_name
,
"SelectOutput:%.*s_%s"
,
FIELD_BUFFER_SIZE
,
list
[
field_id
].
name
,
part_type_names
[
ptype
]);
sprintf
(
field_name
,
"SelectOutput:%.*s_%s"
,
FIELD_BUFFER_SIZE
,
list
[
field_id
].
name
,
part_type_names
[
ptype
]);
if
(
strcmp
(
param_name
,
field_name
)
==
0
)
{
found
=
1
;
...
...
This diff is collapsed.
Click to expand it.
src/serial_io.c
+
2
−
2
View file @
e7780133
...
...
@@ -1359,8 +1359,8 @@ void write_output_serial(struct engine* e, const char* baseName,
/* Did the user cancel this field? */
char
field
[
PARSER_MAX_LINE_SIZE
];
sprintf
(
field
,
"SelectOutput:%.*s_%s"
,
FIELD_BUFFER_SIZE
,
list
[
i
].
name
,
part_type_names
[
ptype
]);
sprintf
(
field
,
"SelectOutput:%.*s_%s"
,
FIELD_BUFFER_SIZE
,
list
[
i
].
name
,
part_type_names
[
ptype
]);
int
should_write
=
parser_get_opt_param_int
(
params
,
field
,
1
);
if
(
should_write
)
...
...
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