Skip to content

Commit

Permalink
correct repr in ROMSDiscretization
Browse files Browse the repository at this point in the history
  • Loading branch information
“Dafydd committed Nov 28, 2024
1 parent baff4fa commit 09ec2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cstar/roms/discretization.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __str__(self) -> str:
def __repr__(self) -> str:
repr_str = super().__repr__().rstrip(")")
if hasattr(self, "n_procs_x") and self.n_procs_x is not None:
repr_str += f"n_procs_x = {self.n_procs_x}, "
repr_str += f", n_procs_x = {self.n_procs_x}, "
if hasattr(self, "n_procs_y") and self.n_procs_y is not None:
repr_str += f"n_procs_y = {self.n_procs_y}, "

Expand Down

0 comments on commit 09ec2a1

Please sign in to comment.