- 24 Jun, 2021 1 commit
-
-
Viacheslav Ostroukh authored
-
- 22 Jun, 2021 2 commits
-
-
Viacheslav Ostroukh authored
Fix Numpy-related deprecation warnings See merge request kwant/kwant!397
-
Closes #386
-
- 21 Jun, 2021 4 commits
-
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
Sympy 1.7 broke alias `sympy.numbers` and `sympy.core.numbers` should be used instead. Second alias, however, can't be used in eariler Sympy version. This fix uses one of them, dependent on what attribute is present.
-
Viacheslav Ostroukh authored
Backport Matplotlib fixes from master See merge request kwant/kwant!395
-
- 18 Jun, 2021 8 commits
-
-
`renderer` argument of mplot3d's `do_3d_projection()` is deprecated in Matplotlib 3.4. This commit switches from using (also deprecated) `renderer.M` to `self.axes.M`. A warning about `renderer` being deprecated is still emitted, but we still need to keep `renderer=None` statements for reverse compatibility.
-
Viacheslav Ostroukh authored
The issue is in Matplotlib. This is a temporary solution before [1] is merged. Fixes #407. [1] https://github.com/matplotlib/matplotlib/pull/20416
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
Improvements in documentation automated build See merge request kwant/kwant!391
-
Viacheslav Ostroukh authored
Sphinx-4.0 fails to correctly process attributes docstrings/doc comments. Using unreleased Sphinx-4.1 will allow to properly document class attributes, escpecially it is benefitial in the case of documenting inherited attributes.
-
Viacheslav Ostroukh authored
Napoleon Sphinx extension seems to be a drop-in replacement, which handles attributes' documentation better.
-
Viacheslav Ostroukh authored
-
- 17 Jun, 2021 9 commits
-
-
Viacheslav Ostroukh authored
Transpose array-like in herm_conj See merge request kwant/kwant!387
-
Viacheslav Ostroukh authored
If value passed to `herm_conj()` function can't be conjugated as an array or a number, attempt to convert it to a tinyarray is performed. In that way array-like list of lists/tuples can also be conjugated correctly. Fixes #406
-
Viacheslav Ostroukh authored
If onsite/hopping value was supplied to the builder as array-like instead of proper array, Hamiltonian could be generated silently without any Hermitian conjugation, if required. To expose this, `test_builder.py::test_hermitian_conjugation` is parametrized with different types of values to ensure that Numpy arrays, tinyarrays, lists and tuples are all conjugated properly. See issue #406.
-
Anton Akhmerov authored
-
Viacheslav Ostroukh authored
Merge CI fixes from master See merge request kwant/kwant!392
-
-
Viacheslav Ostroukh authored
This is done instead of picking all changes that were commited to master and not reflected in stable. Current master revision is 8a6d320b.
-
-
Anton Akhmerov authored
Clean up linear algebra (related to modes) See merge request kwant/kwant!389
-
- 15 Jun, 2021 4 commits
-
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
- 14 Jun, 2021 2 commits
-
-
Anton Akhmerov authored
-
Viacheslav Ostroukh authored
`renderer` argument of mplot3d's `do_3d_projection()` is deprecated in Matplotlib 3.4. This commit switches from using (also deprecated) `renderer.M` to `self.axes.M`. A warning about `renderer` being deprecated is still emitted, but we still need to keep `renderer=None` statements for reverse compatibility.
-
- 11 Jun, 2021 1 commit
-
-
Viacheslav Ostroukh authored
The issue is in Matplotlib. This is a temporary solution before [1] is merged. Fixes #407. [1] https://github.com/matplotlib/matplotlib/pull/20416
-
- 18 Mar, 2021 1 commit
-
-
Viacheslav Ostroukh authored
Merge request !370 was supposed to make Python 3.7 minimal required version, but in some places 3.6 sneaked from attention. This commit fixes that.
-
- 03 Mar, 2021 1 commit
-
-
Viacheslav Ostroukh authored
In many cases bug [1] causes `scipy.sparse.coo_matrix` to cast complex matrix to float. [1] https://github.com/scipy/scipy/issues/13585
-
- 02 Mar, 2021 1 commit
-
-
Viacheslav Ostroukh authored
-
- 20 Feb, 2021 1 commit
-
-
Bas Nijholt authored
-
- 22 Jan, 2021 1 commit
-
-
Christoph Groth authored
-
- 21 Jan, 2021 1 commit
-
-
Christoph Groth authored
-
- 19 Jan, 2021 3 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-