Skip to content

Commit

Permalink
Merge pull request #697 from the-virtual-brain/cosim_exclusive_corr
Browse files Browse the repository at this point in the history
CoSimulator exclusive proxy nodes connectivity bug correction
  • Loading branch information
liadomide authored Nov 22, 2023
2 parents 8eb997a + f6ac25d commit fde0080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvb_contrib/tvb/contrib/cosimulation/cosimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _configure_cosimulation(self):

# Reconfigure the connectivity for regions modelled by the other cosimulator exclusively:
if self.exclusive:
self.connectivity.weights[self.proxy_inds][:, self.proxy_inds] = 0.0
self.connectivity.weights[numpy.ix_(self.proxy_inds, self.proxy_inds)] = 0.0
self.connectivity.configure()

# Configure the cosimulator monitor
Expand Down

0 comments on commit fde0080

Please sign in to comment.