From a75034e221901a63b5b9ff464914cdf68b888e37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Sierro?= Date: Wed, 27 Sep 2023 13:03:27 +0200 Subject: [PATCH] nm units bugfix --- src/scgenerator/physics/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scgenerator/physics/units.py b/src/scgenerator/physics/units.py index dba43cc..71e2d95 100644 --- a/src/scgenerator/physics/units.py +++ b/src/scgenerator/physics/units.py @@ -146,7 +146,7 @@ def um(l: _T) -> _T: return l * 1e-6 -@nm.inverse +@um.inverse def um_inv(l: _T) -> _T: return l * 1e6