From 75f6c292b6d050c049b6a7020cdece2610b87ffe Mon Sep 17 00:00:00 2001
From: Nora Abi Akar <nora.abiakar@gmail.com>
Date: Mon, 16 Dec 2019 19:22:03 +0100
Subject: [PATCH] remove nested profiling (#924)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* Remove nested profiler call — revpot mechanisms already have profiler calls inserted in the generated code.
---
 arbor/fvm_lowered_cell_impl.hpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arbor/fvm_lowered_cell_impl.hpp b/arbor/fvm_lowered_cell_impl.hpp
index f7e70f86..b8dc2f5a 100644
--- a/arbor/fvm_lowered_cell_impl.hpp
+++ b/arbor/fvm_lowered_cell_impl.hpp
@@ -216,11 +216,9 @@ fvm_integration_result fvm_lowered_cell_impl<Backend>::integrate(
     while (remaining_steps) {
         // Update any required reversal potentials based on ionic concs.
 
-        PE(advance_update_revpot)
         for (auto& m: revpot_mechanisms_) {
             m->nrn_current();
         }
-        PL();
 
 
         // Deliver events and accumulate mechanism current contributions.
-- 
GitLab