Skip to content

Commit

Permalink
remove useless statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lgiacome committed Nov 20, 2024
1 parent 12c9d5e commit ef38870
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xwakes/wit/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,8 +737,6 @@ def wake(self, t, beta0=None):
length = self.length
exponents = tuple(self.source_exponents + self.test_exponents)

beta0 = beta0 if beta0 is not None else 1

isscalar = np.isscalar(t)
t = np.atleast_1d(t)
mask_positive = t > 1e-20
Expand Down

0 comments on commit ef38870

Please sign in to comment.