Skip to content
Snippets Groups Projects
Commit fe7f875d authored by Joseph Weston's avatar Joseph Weston
Browse files

fix up diff file

Running 2to3 removed a line in the graphene.py tutorial script, which
broke the diff file. We manually update the diff file to fix this.
parent c28d9988
No related branches found
No related tags found
No related merge requests found
--- original
+++ modified
@@ -11,6 +11,7 @@
@@ -11,5 +11,6 @@
# lattice, namely graphene
from __future__ import division # so that 1/2 == 0.5, and not 0
+import _defs
from math import pi, sqrt, tanh
import kwant
@@ -97,22 +98,40 @@
@@ -96,22 +97,40 @@
smatrix = kwant.smatrix(sys, energy)
data.append(smatrix.transmission(0, 1))
......@@ -57,7 +56,7 @@
def main():
@@ -124,8 +143,11 @@
@@ -123,8 +142,11 @@
def family_colors(site):
return 0 if site.family == a else 1
......@@ -71,7 +70,7 @@
# Compute some eigenvalues.
compute_evs(sys.finalized())
@@ -134,9 +156,11 @@
@@ -133,9 +155,11 @@
for lead in leads:
sys.attach_lead(lead)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment