Skip to content

Commit

Permalink
Add missing line
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Maier <[email protected]>
  • Loading branch information
maierbn committed Oct 16, 2023
1 parent b45395d commit d0f6f11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pylife/mesh/gradient.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,5 +393,6 @@ def gradient_of(self, value_key):
result = result.reset_index(level=0, drop=True)

# remove duplicate indices, keep the first node
return result[~result.index.duplicated(keep='first')]


0 comments on commit d0f6f11

Please sign in to comment.