Skip to content
GitLab
Menu
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
a798ebdd
Commit
a798ebdd
authored
Jan 08, 2020
by
Matthieu Schaller
Browse files
Allow users to run with '--temperature' when running with the 'NONE' cooling model.
parent
9220f22d
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/main.c
View file @
a798ebdd
...
...
@@ -858,9 +858,9 @@ int main(int argc, char *argv[]) {
/* Initialise the cooling function properties */
#ifdef COOLING_NONE
if
(
with_cooling
||
with_temperature
)
{
if
(
with_cooling
)
{
error
(
"ERROR: Running with cooling
/ temperature
calculation"
"ERROR: Running with cooling calculation"
" but compiled without it."
);
}
#else
...
...
Write
Preview
Supports
Markdown
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