Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudon committed Sep 5, 2023
1 parent c18707f commit dc4b7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurots/generate/section.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def next_point(self, current_point):

def prob(*args, **kwargs):
p = 1.0
for i, constraint in enumerate(self.context["constraints"]):
for constraint in self.context["constraints"]:
p *= constraint["section_prob"](*args, **kwargs)
return p

Expand Down

0 comments on commit dc4b7ec

Please sign in to comment.