Skip to content

Commit

Permalink
fixup instance
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhansk committed Aug 26, 2024
1 parent 72cb3ac commit a606b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygradflow/runners/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self, name, num_vars, num_cons):
self.num_cons = num_cons

def __repr__(self):
return "%s(%s)".format(self.__class__.__name__, self.name)
return f"{self.__class__.__name__}({self.name})"

@property
def size(self):
Expand Down

0 comments on commit a606b13

Please sign in to comment.