Skip to content

Commit

Permalink
MNT: remove unecessary list casting
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusStano committed Mar 31, 2024
1 parent 8cfaedc commit 07f9ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketpy/mathutils/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def _get_value_opt_nd(self, *args):
"""Evaluate the Function at a single point (x, y, z). This method is
used when the Function is N-D."""
# always use shepard for N-D functions
return self.__interpolate_shepard__(list(args))
return self.__interpolate_shepard__(args)

def set_discrete(
self,
Expand Down

0 comments on commit 07f9ed5

Please sign in to comment.