Skip to content

Commit

Permalink
fixing syntax issue in post_init of dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
kottmanj committed Feb 15, 2024
1 parent 140b703 commit 7e9d614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tequila/apps/adapt/adapt.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AdaptParameters:
degeneracy_threshold: float = 5.e-4
silent: bool = False

def __post__init__(self):
def __post_init__(self):
# avoid stacking of same operator-types in a row
if "method_options" in self.optimizer_args:
if "gtol" in self.optimizer_args["method_options"]:
Expand Down

0 comments on commit 7e9d614

Please sign in to comment.