Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed Sep 22, 2023
1 parent bb35182 commit e129ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neurots/generate/section.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _propose(self, extra_randomness=0.0):
"""Propose the direction for a next section point.
Args:
extra_randomness (float): artificially increase the randomness to allow for context changes
extra_randomness (float): artificially increase the randomness to allow for context
"""
direction = self.params.targeting * self.direction + self.params.history * self.history()
if extra_randomness > -1:
Expand All @@ -118,7 +118,7 @@ def next_point(self, extra_randomness=0):
If a context is present, an accept-reject mechanism will be used to alter the next point.
Args:
extra_randomness (float): only used without constraints, if -1.0, no randomness is applied
extra_randomness (float): only used without constraints if -1.0 no randomness is applied
"""
if self.context is not None and self.context.get("constraints", []): # pragma: no cover

Expand Down

0 comments on commit e129ef1

Please sign in to comment.