Commit f710a507 authored by Joseph Weston's avatar Joseph Weston
Browse files

make system connected to remove warning from test run

parent b82c77bf
......@@ -752,7 +752,8 @@ def test_vectorized_requires_norbs(sym):
lat = kwant.lattice.chain()
syst = builder.Builder(sym, vectorize=True)
syst[lat(0)] = 1
syst[lat(0)] = syst[lat(1)] = 2
syst[lat(1), lat(0)] = -1
raises(ValueError, syst.finalized)
......
Supports Markdown
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