Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pablo Piskunow
kwant
Commits
f710a507
Commit
f710a507
authored
Nov 26, 2019
by
Joseph Weston
Browse files
make system connected to remove warning from test run
parent
b82c77bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
kwant/tests/test_builder.py
View file @
f710a507
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment