Skip to content

Commit

Permalink
Fix: remove forgotten print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
FranzBangar committed Nov 7, 2023
1 parent 2057bd2 commit 1d29312
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/classy_blocks/construct/curves/interpolated.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ def get_length(self, param_from: Optional[float] = None, param_to: Optional[floa
indexes = []

params = [param_from, *[i / self.segments for i in indexes], param_to]

print(params)

discretized = np.array([self.function(t) for t in params])
return np.sum(np.sqrt(np.sum((discretized[:-1] - discretized[1:]) ** 2, axis=1)))

Expand Down

0 comments on commit 1d29312

Please sign in to comment.