... | ... |
@@ -752,7 +752,8 @@ def test_vectorized_requires_norbs(sym): |
752 | 752 |
lat = kwant.lattice.chain() |
753 | 753 |
|
754 | 754 |
syst = builder.Builder(sym, vectorize=True) |
755 |
- syst[lat(0)] = 1 |
|
755 |
+ syst[lat(0)] = syst[lat(1)] = 2 |
|
756 |
+ syst[lat(1), lat(0)] = -1 |
|
756 | 757 |
|
757 | 758 |
raises(ValueError, syst.finalized) |
758 | 759 |
|