Skip to content

Commit

Permalink
Merge pull request #1493 from pjsph/typo/units
Browse files Browse the repository at this point in the history
Typo in error message
  • Loading branch information
mstimberg authored Nov 14, 2023
2 parents c994757 + 75c8cad commit 9489e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brian2/units/fundamentalunits.py
Original file line number Diff line number Diff line change
Expand Up @@ -2774,7 +2774,7 @@ def new_f(*args, **kwds):
value = newkeyset[k]
error_message = (
f"Function '{f.__name__}' "
"expected a quantitity with unit "
"expected a quantity with unit "
f"{unit} for argument '{k}' but got "
f"'{value}'"
)
Expand Down

0 comments on commit 9489e95

Please sign in to comment.