From 55dacf723e2f12d33e35e64733685057ef6d24c9 Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Wed, 24 Apr 2013 23:41:21 -0400 Subject: [PATCH] add call signature to hamiltonian_submatrix --- kwant/_system.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/kwant/_system.pyx b/kwant/_system.pyx index ee263b90..d14f075b 100644 --- a/kwant/_system.pyx +++ b/kwant/_system.pyx @@ -213,6 +213,7 @@ def make_dense_full(ham, args, CGraph gr, diag, return h_sub +@cython.embedsignature(True) def hamiltonian_submatrix(self, to_sites=None, from_sites=None, sparse=False, return_norb=False, args=()): -- GitLab