From 6cbc898d2e565de3c58d7dac9b58e492a9cd9a10 Mon Sep 17 00:00:00 2001 From: Bert Vandenbroucke <bert.vandenbroucke@gmail.com> Date: Wed, 21 Nov 2018 13:53:47 +0000 Subject: [PATCH] Adapted potential_init_backend to non-const parameter file signature. --- src/potential/spiral_galaxy/potential.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/potential/spiral_galaxy/potential.h b/src/potential/spiral_galaxy/potential.h index d0fea6e9f6..e972c38af7 100644 --- a/src/potential/spiral_galaxy/potential.h +++ b/src/potential/spiral_galaxy/potential.h @@ -234,7 +234,7 @@ external_gravity_get_potential_energy( * @param potential The external potential properties to initialize */ static INLINE void potential_init_backend( - const struct swift_params* parameter_file, + struct swift_params* parameter_file, const struct phys_const* phys_const, const struct unit_system* us, const struct space* s, struct external_potential* potential) { -- GitLab