Skip to content

Commit

Permalink
Update neurots/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adrien Berchet <[email protected]>
  • Loading branch information
arnaudon and adrien-berchet authored Sep 6, 2023
1 parent 8bbfe13 commit b5fe1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurots/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def point_to_section_segment(neuron, point, rtol=1e-05, atol=1e-08):
def accept_reject(
propose, probability, rng, null=None, max_tries=100, noise_increase=0.5, **probability_kwargs
):
"""Generic accept reject algorithm."""
"""Generic accept/reject algorithm."""
n_tries = 0
while n_tries < max_tries:
proposal = propose(n_tries * noise_increase)
Expand Down

0 comments on commit b5fe1d3

Please sign in to comment.