Skip to content

Commit

Permalink
fix: wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jan 8, 2025
1 parent 7ce46b2 commit 5610054
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/ansys/mapdl/core/mapdl_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2035,12 +2035,10 @@ def _get_time_step_stream(
)

else:
if time_step_stream <= 0:
raise ValueError(
"``time_step_stream`` argument must be greater than 0``"
)
if time_step <= 0:
raise ValueError("``time_step`` argument must be greater than 0``")

self.logger.debug(f"The time_step_stream argument is set to: {time_step}")
self.logger.debug(f"The time_step argument is set to: {time_step}")
return time_step

def _get_file_path(self, fname: str, progress_bar: bool = False) -> str:
Expand Down

0 comments on commit 5610054

Please sign in to comment.