Skip to content

Commit

Permalink
Update hnn_core/network.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mainak Jas <[email protected]>
  • Loading branch information
ntolley and jasmainak committed May 19, 2021
1 parent 04ac849 commit a38a527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hnn_core/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ def drop(self, probability):
"""
_validate_type(probability, float, 'probability')
if probability <= 0.0 or probability >= 1.0:
raise ValueError('probability must be in the range [0,1]')
raise ValueError('probability must be in the range (0,1)')
# Flatten connections into a list of targets.
all_connections = np.concatenate(
[target_src_pair for
Expand Down

0 comments on commit a38a527

Please sign in to comment.