From 9efa1b5818a6a0810ad746c535a102770efc6925 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Fri, 20 Mar 2020 00:46:55 +0000 Subject: [PATCH] small changes --- src/binary_c_python.c | 2 ++ tests/population/test_population.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/binary_c_python.c b/src/binary_c_python.c index 7ecc09f0e..dd184d5fd 100644 --- a/src/binary_c_python.c +++ b/src/binary_c_python.c @@ -260,6 +260,8 @@ static PyObject* binary_c_run_system(PyObject *self, PyObject *args, PyObject *k Safe_free(buffer); Safe_free(error_buffer); + // TODO: fix that the return_error_string is returned. + return return_string; } diff --git a/tests/population/test_population.py b/tests/population/test_population.py index a43d96917..6393d239a 100644 --- a/tests/population/test_population.py +++ b/tests/population/test_population.py @@ -38,6 +38,8 @@ def parse_function(self, output): for i in range(16): mass_lost_dict['{}'.format(i)] = 0 + total_mass_lost = 0 + # Go over the output. for el in output_lines(output): headerline = el.split()[0] -- GitLab