Skip to content

Commit

Permalink
🎨 Format Python code with psf/black (#390)
Browse files Browse the repository at this point in the history
Co-authored-by: ndem0 <[email protected]>
Co-authored-by: dcoscia <[email protected]>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent 23bc409 commit d94256f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pina/geometry/simplex.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ def sample(self, n, mode="random", variables="all"):
if self._sample_surface:
sample_pts = self._sample_boundary_randomly(n)
else:
sample_pts = self._sample_interior_randomly(n, variables
)
sample_pts = self._sample_interior_randomly(n, variables)

else:
raise NotImplementedError(f"mode={mode} is not implemented.")
Expand Down

0 comments on commit d94256f

Please sign in to comment.