Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joseph Weston
kwant
Commits
9ae0ea92
Commit
9ae0ea92
authored
6 years ago
by
Joseph Weston
Browse files
Options
Downloads
Patches
Plain Diff
remove cryptic imports
parent
d07c1709
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kwant/physics/gauge.py
+2
-3
2 additions, 3 deletions
kwant/physics/gauge.py
with
2 additions
and
3 deletions
kwant/physics/gauge.py
+
2
−
3
View file @
9ae0ea92
...
...
@@ -14,7 +14,6 @@ may occur if deemed necessary by the core developers.
"""
import
bisect
import
functools
as
ft
from
functools
import
partial
from
itertools
import
permutations
...
...
@@ -869,7 +868,7 @@ def _gauge_finite(syst):
loops
=
loops_in_finite
(
syst
)
def
_gauge
(
syst_field
,
tol
=
1E-8
,
average
=
False
):
integrate
=
ft
.
partial
(
surface_integral
,
syst_field
,
integrate
=
partial
(
surface_integral
,
syst_field
,
tol
=
tol
,
average
=
average
)
phases
=
calculate_phases
(
loops
,
...
...
@@ -877,7 +876,7 @@ def _gauge_finite(syst):
_previous_phase_finite
,
integrate
,
)
return
ft
.
partial
(
_finite_wrapper
,
syst
,
phases
)
return
partial
(
_finite_wrapper
,
syst
,
phases
)
return
_gauge
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment