Commit 438201d9 authored by Joseph Weston's avatar Joseph Weston

correct usage example for kwant.physics.gauge

parent 355fb99b
Pipeline #15122 failed with stages
in 42 minutes and 16 seconds
......@@ -23,7 +23,7 @@ which calculates the Peierls phases for you::
syst = make_system(hopping)
lead = make_lead(hopping)
lead.substitute(peierls='peierls_lead')
lead.substituted(peierls='peierls_lead')
syst.attach_lead(lead)
syst = syst.finalized()
......
......@@ -959,7 +959,7 @@ class magnetic_gauge:
>>>
>>> syst = make_system(hopping)
>>> lead = make_lead(hopping)
>>> lead.substitute(peierls='peierls_lead')
>>> lead.substituted(peierls='peierls_lead')
>>> syst.attach_lead(lead)
>>> syst = syst.finalized()
>>>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment