-
- Downloads
fix problem in discretizer that occur when onsite is set to "int(1)"
Running "kwant.continuum.discretize('k_x**2 + 1')" was resulting in an "AssertionError". This happend because "1 * expr = expr" in SymPy and therefore a wrong argument has been passed to "_read_offset" function.
Loading
Please register or sign in to comment