Skip to content

Commit

Permalink
Fix code style issues with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
lint-action committed Nov 1, 2023
1 parent 7f88c50 commit 64c5761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rocketpy/mathutils/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -2621,7 +2621,7 @@ def compose(self, func, extrapolate=False):
interpolation=self.__interpolation__,
extrapolation=self.__extrapolation__,
)

def _check_user_input(
self,
source,
Expand All @@ -2643,7 +2643,7 @@ def _check_user_input(
# check output type and dimensions
if isinstance(outputs, str):
outputs = [outputs]

elif len(outputs) > 1:
raise ValueError(
f"Output must either be a string or have dimension 1, it currently has dimension ({len(outputs)})."
Expand Down

0 comments on commit 64c5761

Please sign in to comment.