From ec1ad9f0c11af39e7b2bd7287b034a2f92d3b39d Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Mon, 1 Aug 2016 18:48:19 +0100
Subject: [PATCH] Fixed test_125 for initial self-gravity merge

---
 tests/test125cells.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test125cells.c b/tests/test125cells.c
index c2e80f9535..42f48c13a9 100644
--- a/tests/test125cells.c
+++ b/tests/test125cells.c
@@ -447,12 +447,16 @@ int main(int argc, char *argv[]) {
   space.periodic = 0;
   space.h_max = h;
 
+  struct phys_const pc;
+  pc.const_newton_G = 1.f;
+
   struct hydro_props hp;
   hp.target_neighbours = h * h * h * kernel_norm;
   hp.delta_neighbours = 1.;
   hp.max_smoothing_iterations = 1;
 
   struct engine engine;
+  engine.physical_constants = &pc;
   engine.hydro_properties = &hp;
   engine.s = &space;
   engine.time = 0.1f;
-- 
GitLab