From 2c5da944a0b524b23949c438d22f30c7a254742b Mon Sep 17 00:00:00 2001 From: Joseph Weston <joseph.weston08@gmail.com> Date: Wed, 6 Sep 2017 13:44:41 +0200 Subject: [PATCH] correct error in "whatsnew" file for kwant 1.3 Closes #166. --- doc/source/pre/whatsnew/1.3.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/pre/whatsnew/1.3.rst b/doc/source/pre/whatsnew/1.3.rst index 0f4e250f..707608cb 100644 --- a/doc/source/pre/whatsnew/1.3.rst +++ b/doc/source/pre/whatsnew/1.3.rst @@ -52,8 +52,8 @@ the following:: psi = kwant.wave_function(syst)(0)[0] # create the operators - Q = kwant.physics.LocalOperator(syst) - J = kwant.physics.Current(syst) + Q = kwant.operator.Density(syst) + J = kwant.operator.Current(syst) # evaluate the expectation value with the wavefunction q = Q(psi) -- GitLab