Skip to content
Snippets Groups Projects
Commit 4c0593c4 authored by Joseph Weston's avatar Joseph Weston
Browse files

update all relevant 'isinstance' checks on systems

We now have *System and *System2, so the old 'isinstance' checks
will not be complete. We add convenience functions in 'kwant.system'
and 'kwant.builder' to check against all the relvant classes.
We leave the original 'isinstance' checks in 'kwant.physics.gauge'
because that module does not work with vectorize systems yet.
parent dbec8013
No related branches found
No related tags found
No related merge requests found
Loading
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