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
kwant
kwant
Commits
2dde5353
Commit
2dde5353
authored
Mar 30, 2022
by
Christoph Groth
Browse files
Merge branch 'stable'
parents
6fb5d56d
08a49777
Pipeline
#97989
failed with stages
in 14 minutes and 30 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/source/pre/whatsnew/1.4.rst
View file @
2dde5353
...
...
@@ -347,9 +347,10 @@ Changes in Kwant 1.4.2
backwards
-
incompatible
change
only
affects
Kwant
users
who
use
it
.
-
Minor
bugs
were
fixed
in
the
KPM
module
.
Changes
after
Kwant
1.4.
2
----------------------
---
Changes
in
Kwant
1.4.
3
----------------------
-
Builder
properly
handles
Hermitian
conjugation
of
array
-
like
values
.
Before
,
if
the
value
was
provided
not
as
a
true
array
but
,
for
example
,
as
a
list
of
lists
,
it
was
not
conjugated
,
which
could
lead
to
generation
of
a
non
-
Hermitian
Hamiltonian
matrix
without
emitting
any
error
.
-
Various
maintenance
.
kwant/solvers/sparse.py
View file @
2dde5353
...
...
@@ -13,7 +13,7 @@ import scipy.sparse as sp
from
.
import
common
# Note: previous code would have failed if UMFPACK was provided by scikit
import
scipy.sparse.linalg.dsolve
.linsolve
as
linsolve
from
scipy.sparse.linalg.dsolve
import
linsolve
uses_umfpack
=
linsolve
.
useUmfpack
...
...
setup.py
View file @
2dde5353
...
...
@@ -19,6 +19,12 @@ import importlib
import
subprocess
import
configparser
import
collections
# Until there is an alternative way to add custom build steps, request that
# setuptools' local distutils copy is used as global module "distutils". This
# works around the future removal of distutils from the stdlib. See
# https://github.com/pypa/setuptools/issues/2928#issuecomment-997138589.
os
.
environ
[
"SETUPTOOLS_USE_DISTUTILS"
]
=
"local"
from
setuptools
import
setup
,
find_packages
,
Extension
,
Command
from
distutils.errors
import
DistutilsError
,
CCompilerError
from
distutils.command.build
import
build
as
build_orig
...
...
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