Skip to content
Snippets Groups Projects
Commit bcece409 authored by Johanna Zijderveld's avatar Johanna Zijderveld
Browse files

Merge branch 'type_fix' into 'main'

simplify model type

See merge request qt/kwant-scf!11
parents 67f34110 0293527a
No related branches found
No related tags found
1 merge request!11simplify model type
Pipeline #179859 passed
import numpy as np
_tb_type = dict[tuple[()] | tuple[int, ...], np.ndarray]
_tb_type = dict[tuple[int, ...], np.ndarray]
def add_tb(tb1: _tb_type, tb2: _tb_type) -> _tb_type:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment