Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
kinnala committed Jun 17, 2024
1 parent 7d4d359 commit 0f23a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skfem/mesh/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def load(cls,
**kwargs)

@classmethod
def from_dict(cls, d):
def from_dict(cls, data):

if 'p' not in data or 't' not in data:
raise ValueError("Dictionary must contain keys 'p' and 't'.")
Expand Down

0 comments on commit 0f23a88

Please sign in to comment.