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
Gauthier Quesnel
irritator
Commits
3bde1162
Commit
3bde1162
authored
Apr 20, 2020
by
Gauthier Quesnel
Browse files
gcc: fix warnings
parent
3c9784d3
Pipeline
#11000
passed with stage
in 1 minute and 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/include/irritator/io.hpp
View file @
3bde1162
...
...
@@ -231,7 +231,11 @@ private:
return
status
::
success
;
});
irt_return_if_bad
(
ret
);
map
.
emplace_back
(
id
,
mdl
);
return
status
::
success
;
}
bool
read
(
none
&
/*dyn*/
)
noexcept
...
...
@@ -455,7 +459,7 @@ struct writer
}
private:
void
write
(
const
none
&
dyn
)
noexcept
void
write
(
const
none
&
/*
dyn
*/
)
noexcept
{
std
::
fprintf
(
file
,
"none
\n
"
);
}
...
...
lib/test/public-api.cpp
View file @
3bde1162
...
...
@@ -1021,7 +1021,8 @@ main()
expect
(
sim
.
connect
(
integrator_b
.
y
[
0
],
quantifier_b
.
x
[
0
])
==
irt
::
status
::
success
);
irt
::
dot_writer
(
stdout
)(
sim
);
irt
::
dot_writer
dw
(
stdout
);
dw
(
sim
);
file_output
fo_a
(
"lotka-volterra_a.csv"
);
file_output
fo_b
(
"lotka-volterra_b.csv"
);
...
...
@@ -1202,7 +1203,8 @@ main()
irt
::
status
::
success
);
expect
(
sim
.
connect
(
constant
.
y
[
0
],
sum_d
.
x
[
1
])
==
irt
::
status
::
success
);
irt
::
dot_writer
(
stdout
)(
sim
);
irt
::
dot_writer
dw
(
stdout
);
dw
(
sim
);
file_output
fo_a
(
"izhikevitch_a.csv"
);
file_output
fo_b
(
"izhikevitch_b.csv"
);
...
...
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