Commit a798ebdd authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Allow users to run with '--temperature' when running with the 'NONE' cooling model.

parent 9220f22d
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment