From a952b3fdb6d8a635273e1a74e0b91220607f41a1 Mon Sep 17 00:00:00 2001 From: Cristian C Lalescu <Cristian.Lalescu@mpcdf.mpg.de> Date: Tue, 28 Nov 2023 20:13:01 +0100 Subject: [PATCH] fixes API usage --- TurTLE/test/test_particle_set_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TurTLE/test/test_particle_set_init.py b/TurTLE/test/test_particle_set_init.py index d6f352c2..5af87864 100644 --- a/TurTLE/test/test_particle_set_init.py +++ b/TurTLE/test/test_particle_set_init.py @@ -44,7 +44,7 @@ class aTEST(TEST): self.includes = '\n'.join( ['#include ' + hh for hh in self.include_list]) - self.definitions += open( + self.definitions = open( os.path.join( cpp_location, self.dns_type + '.hpp'), 'r').read() self.definitions += open( -- GitLab