From 75c8cad249b4113c2d40219d295667214b7a2906 Mon Sep 17 00:00:00 2001 From: pjsph <42893181+pjsph@users.noreply.github.com> Date: Mon, 13 Nov 2023 23:02:46 +0100 Subject: [PATCH] Typo in error message --- brian2/units/fundamentalunits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brian2/units/fundamentalunits.py b/brian2/units/fundamentalunits.py index 64ece0d06..a68db623c 100644 --- a/brian2/units/fundamentalunits.py +++ b/brian2/units/fundamentalunits.py @@ -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}'" )