Skip to content

Commit

Permalink
copy default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
ntolley authored and gtdang committed Sep 27, 2024
1 parent 0bb0b53 commit 7c4d560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hnn_core/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ def add_electrode_array(self, name, electrode_pos, *, conductivity=0.3,
min_distance=min_distance)})

def update_weights(self, e_e=None, e_i=None,
i_e=None, i_i=None, copy=True):
i_e=None, i_i=None, copy=False):
"""Update synaptic weights of the network.
Parameters
Expand All @@ -1452,6 +1452,7 @@ def update_weights(self, e_e=None, e_i=None,
copy : bool
If True, returns a copy of the network. If False,
the network is updated in place with a return of None.
(default False)
Returns
-------
Expand Down

0 comments on commit 7c4d560

Please sign in to comment.