Skip to content
GitLab
Explore
Sign in
Register
Pablo Piskunow
kwant
Repository
kwant
kwant
operator.pyx
Find file
Blame
History
Permalink
fix bug when user provides an incorrectly shaped array to an operator
· d6e9ef86
Joseph Weston
authored
Mar 10, 2017
The check 'if vec' is changed to 'if vec is not None', as the truth value of an array is ambiguous.
d6e9ef86