From 9c308b7907fec6e02023411f80d3a23da827983b Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Tue, 16 Aug 2016 15:15:38 +0100
Subject: [PATCH] Code formatting

---
 src/gravity/Default/gravity.h | 6 +++---
 src/potentials.h              | 6 ++++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/gravity/Default/gravity.h b/src/gravity/Default/gravity.h
index d9326579f4..9c56549d00 100644
--- a/src/gravity/Default/gravity.h
+++ b/src/gravity/Default/gravity.h
@@ -47,8 +47,8 @@ gravity_compute_timestep_external(const struct external_potential* potential,
                                                                phys_const, gp));
 #endif
 #ifdef EXTERNAL_POTENTIAL_DISK_PATCH
-  dt =
-      fmin(dt, external_gravity_disk_patch_timestep(potential, phys_const, gp));
+  dt = fminf(dt,
+             external_gravity_disk_patch_timestep(potential, phys_const, gp));
 #endif
   return dt;
 }
@@ -135,7 +135,7 @@ __attribute__((always_inline)) INLINE static void gravity_end_force(
  * @param gp The particle to act upon.
  */
 __attribute__((always_inline)) INLINE static void external_gravity(
-								   double time, const struct external_potential* potential,
+    double time, const struct external_potential* potential,
     const struct phys_const* const phys_const, struct gpart* gp) {
 
 #ifdef EXTERNAL_POTENTIAL_POINTMASS
diff --git a/src/potentials.h b/src/potentials.h
index 934458c813..1771e5ea2f 100644
--- a/src/potentials.h
+++ b/src/potentials.h
@@ -72,7 +72,8 @@ struct external_potential {
 #ifdef EXTERNAL_POTENTIAL_DISK_PATCH
 
 /**
- * @brief Computes the time-step from the acceleration due to a hydrostatic disk.
+ * @brief Computes the time-step from the acceleration due to a hydrostatic
+ * disk.
  *
  * See Creasey, Theuns & Bower, 2013, MNRAS, Volume 429, Issue 3, p.1922-1948
  *
@@ -129,7 +130,8 @@ external_gravity_disk_patch_timestep(const struct external_potential* potential,
 }
 
 /**
- * @brief Computes the gravitational acceleration along z due to a hydrostatic disk
+ * @brief Computes the gravitational acceleration along z due to a hydrostatic
+ * disk
  *
  * See Creasey, Theuns & Bower, 2013, MNRAS, Volume 429, Issue 3, p.1922-1948
  *
-- 
GitLab