Skip to content
Snippets Groups Projects
Commit aed37c30 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fixed compilation error.

parent ef9bfc3f
No related branches found
No related tags found
No related merge requests found
......@@ -19,11 +19,10 @@
#include "../config.h"
/* Local headers. */
#include "../src/cooling/EAGLE/cooling_rates.h"
#include "../src/cooling/EAGLE/cooling_tables.h"
#include "../src/cooling/EAGLE/interpolate.h"
#include "swift.h"
#if defined(CHEMISTRY_EAGLE) && defined(COOLING_EAGLE)
/*
* @brief Assign particle density and entropy corresponding to the
* hydrogen number density and internal energy specified.
......@@ -235,3 +234,9 @@ int main(int argc, char **argv) {
free(params);
return 0;
}
#else
int main(int argc, char **argv) { return 0; }
#endif
......@@ -19,11 +19,10 @@
#include "../config.h"
/* Local headers. */
#include "../src/cooling/EAGLE/cooling_rates.h"
#include "../src/cooling/EAGLE/cooling_tables.h"
#include "../src/cooling/EAGLE/interpolate.h"
#include "swift.h"
#if defined(CHEMISTRY_EAGLE) && defined(COOLING_EAGLE)
/*
* @brief Assign particle density and entropy corresponding to the
* hydrogen number density and internal energy specified.
......@@ -231,3 +230,9 @@ int main(int argc, char **argv) {
free(params);
return 0;
}
#else
int main(int argc, char **argv) { return 0; }
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment