Skip to content

Commit

Permalink
fixed example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
freude committed Jul 27, 2020
1 parent fb9d534 commit 818778b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ atoms per unit cell:
# compute right-lead coupling
gamma_r = 1j * (R - R.conj().T)
# compute transmission
tr[j] = np.real(np.trace(gamma_l.dot(g_trans).dot(gamma_r).dot(g_trans.conj().T)))
tr[j] = np.real(np.trace(gamma_l @ g_trans @ gamma_r @ g_trans.conj().T)))
```
6. Plot DOS and transmission spectrum:
```python
Expand Down

0 comments on commit 818778b

Please sign in to comment.