diff --git a/doc/source/pre/whatsnew/1.3.rst b/doc/source/pre/whatsnew/1.3.rst index 0f4e250fdcf608271da94544e6396cddd4638ea8..707608cb65e2d54c7854f01b0ded189c2ce2d815 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)