- Jul 11, 2023
-
-
Christoph Groth authored
-
Christoph Groth authored
This is to work around https://github.com/cython/cython/issues/4153
-
- Jul 10, 2023
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- Jul 05, 2023
-
-
Christoph Groth authored
Update to upstream version '1.4.4' with Debian dir 8def8a542b2194d410ecd66e752084f9dfd4a1ed
-
- Jul 03, 2023
-
- May 15, 2023
-
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
- May 06, 2023
-
-
closes #418
-
- Nov 28, 2022
-
-
Christoph Groth authored
-
- Nov 06, 2022
-
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
- Oct 06, 2022
-
-
Christoph Groth authored
-
- Oct 04, 2022
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- May 30, 2022
-
-
Christoph Groth authored
Sympy used to implicitly cast Symbol to Function but stopped in v1.10. Our tests (but not code) relied on the casting behavior, and here we fix this ambiguity.
-
- Mar 30, 2022
-
-
Christoph Groth authored
- Mar 24, 2022
-
-
Bas Nijholt authored
See - https://github.com/scipy/scipy/pull/15220 - https://github.com/scipy/scipy/issues/14360 Currently, it gives the following error message: ``` --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Input In [29], in <module> ----> 1 from scipy.sparse.linalg import linsolve ImportError: cannot import name 'linsolve' from 'scipy.sparse.linalg' (/nfshome/basnijholt/mambaforge/envs/qms-lab-20220224-main/lib/python3.9/site-packages/scipy/sparse/linalg/__init__.py) ``` With this change, the following warning is emitted: ``` /tmp/scratch/basnijholt/ipykernel_59547/2794395227.py:1: DeprecationWarning: The module `scipy.sparse.linalg.dsolve.linsolve` is deprecated. All public names must be imported directly from the `scipy.sparse.linalg` namespace. from scipy.sparse.linalg.dsolve import linsolve ``` The following gives no warning: ``` from scipy.sparse.linalg._dsolve import linsolve ``` However, we should reconsider using private features.
-
- Jun 22, 2021
-
-
Viacheslav Ostroukh authored
Fix Numpy-related deprecation warnings See merge request kwant!397
-
Closes #386
-
- Jun 21, 2021
-
-
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!395
-
- Jun 18, 2021
-
-
`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
-
- Jun 17, 2021
-
-
Viacheslav Ostroukh authored
Transpose array-like in herm_conj See merge request 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!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 8a6d320be25dc30b38064bb02341ea2458ebf77a.
-
-
- Jan 19, 2021
-
-
Christoph Groth authored
-
Christoph Groth authored
-
- Aug 26, 2020
-
-
Christoph Groth authored