From 25c14262e5378f68e3bb70ab3c85f289b44d4ff2 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Tue, 29 Jan 2019 19:20:40 +1100 Subject: [PATCH] Also update the const-du const-lanbda and Compton cooling models for the new API. --- src/cooling/Compton/cooling.h | 3 +-- src/cooling/const_du/cooling.h | 3 +-- src/cooling/const_lambda/cooling.h | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/cooling/Compton/cooling.h b/src/cooling/Compton/cooling.h index 77252140d2..3b5325e9ef 100644 --- a/src/cooling/Compton/cooling.h +++ b/src/cooling/Compton/cooling.h @@ -44,8 +44,7 @@ * @param restart_flag Are we calling this directly after a restart? */ INLINE static void cooling_update(const struct cosmology* cosmo, - struct cooling_function_data* cooling, - const int restart_flag) { + struct cooling_function_data* cooling) { // Add content if required. } diff --git a/src/cooling/const_du/cooling.h b/src/cooling/const_du/cooling.h index 8dc545f5b1..0253682aa5 100644 --- a/src/cooling/const_du/cooling.h +++ b/src/cooling/const_du/cooling.h @@ -54,8 +54,7 @@ * @param restart_flag Are we calling this directly after a restart? */ INLINE static void cooling_update(const struct cosmology* cosmo, - struct cooling_function_data* cooling, - const int restart_flag) { + struct cooling_function_data* cooling) { // Add content if required. } diff --git a/src/cooling/const_lambda/cooling.h b/src/cooling/const_lambda/cooling.h index 09c96413ce..963723785a 100644 --- a/src/cooling/const_lambda/cooling.h +++ b/src/cooling/const_lambda/cooling.h @@ -53,8 +53,7 @@ * @param restart_flag Are we calling this directly after a restart? */ INLINE static void cooling_update(const struct cosmology* cosmo, - struct cooling_function_data* cooling, - const int restart_flag) { + struct cooling_function_data* cooling) { // Add content if required. } -- GitLab