Skip to content

Commit

Permalink
output_def should not be class method
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Jan 10, 2024
1 parent 9b23a57 commit 6c5b69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tests/test_output_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def __init__(
):
self.shape_rd, self.shape_dr = shape_rd, shape_dr

def output_def(cls):
def output_def(self):
defs = [
OutputVariableDef("energy", [1], True, True),
]
Expand Down

0 comments on commit 6c5b69f

Please sign in to comment.