From cfae3a6e05cabb7c30ab6655449fa8e5ddcb7296 Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Fri, 23 Feb 2024 09:25:59 +0100 Subject: [PATCH] Fix to work with Arbor 0.9.0 --- pyNN/arbor/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyNN/arbor/simulator.py b/pyNN/arbor/simulator.py index 69c7eab9..528e8d4d 100644 --- a/pyNN/arbor/simulator.py +++ b/pyNN/arbor/simulator.py @@ -186,7 +186,7 @@ def __init__(self): comm = arbor.mpi_comm(MPI.COMM_WORLD) else: comm = None - self.arbor_context = arbor.context(alloc, comm) + self.arbor_context = arbor.context(alloc, mpi=comm) # unclear if we can create the recipe now, or if we have to # construct it only when we've assembled the whole network self.network = NetworkRecipe()