diff --git a/src/cell_group.hpp b/src/cell_group.hpp index 5cb724eeb921cc7d48c1b501e8e3aa1cc068619c..7bfd4bb32f1c3a9281177243ca24e1bf8d2ee9b0 100644 --- a/src/cell_group.hpp +++ b/src/cell_group.hpp @@ -65,7 +65,7 @@ public: clear_spikes(); clear_events(); reset_samplers(); - initialize_cells(); + //initialize_cells(); for (auto& spike_source: spike_sources_) { spike_source.source.reset(cell_, 0.f); } @@ -175,11 +175,6 @@ public: } private: - void initialize_cells() { - cell_.voltage()(memory::all) = -65.; - cell_.initialize(); - } - /// gid of first cell in group cell_gid_type gid_base_; diff --git a/src/util/meta.hpp b/src/util/meta.hpp index 210cb43926fe412be9669176e55e598c673e056b..40f08d481f23199e8e06a47fc41acdd58fdab8c9 100644 --- a/src/util/meta.hpp +++ b/src/util/meta.hpp @@ -55,12 +55,6 @@ struct sequence_traits { using const_sentinel = decltype(cend(std::declval<Seq&>())); }; -template <typename X> -std::size_t size(const X& x) { return x.size(); } - -template <typename X, std::size_t N> -constexpr std::size_t size(X (&)[N]) { return N; } - // Convenience short cuts template <typename T> diff --git a/tests/global_communication/mpi_listener.hpp b/tests/global_communication/mpi_listener.hpp index 968424c3e55f5da1dc81022ef75cf0de176a82fd..159616dd85639710a9a79ecb8a3751e5977e5b84 100644 --- a/tests/global_communication/mpi_listener.hpp +++ b/tests/global_communication/mpi_listener.hpp @@ -89,15 +89,17 @@ public: } virtual void OnTestCaseEnd(const TestCase& test_case) override { pprintf( - "TESTCASE %s : %2d:%-2d pass:fail of %2d tests\n\n", - test_case.name(), - test_case_failures_, test_case_tests_-test_case_failures_, test_case_tests_ + "[PASSED %3d; FAILED %3d] of %3d tests in %s\n\n", + test_case_tests_-test_case_failures_, + test_case_failures_, + test_case_tests_, + test_case.name() ); } // Called before a test starts. virtual void OnTestStart(const TestInfo& test_info) override { - pprintf( " TEST %s::%s\n", test_info.test_case_name(), test_info.name()); + pprintf( " TEST %s::%s\n", test_info.test_case_name(), test_info.name()); test_failures_ = 0; }