Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
resolve
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ift
resolve
Commits
a930951e
Commit
a930951e
authored
Feb 8, 2021
by
Philipp Arras
Browse files
Options
Downloads
Patches
Plain Diff
Get rid of default values
parent
951257c9
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!8
Get rid of default values
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
resolve/global_config.py
+6
-2
6 additions, 2 deletions
resolve/global_config.py
with
6 additions
and
2 deletions
resolve/global_config.py
+
6
−
2
View file @
a930951e
...
...
@@ -4,12 +4,14 @@
import
nifty7
as
ift
_wgridding
=
Fals
e
_epsilon
=
1e-12
_wgridding
=
Non
e
_epsilon
=
None
_nthreads
=
1
def
wgridding
():
if
_wgridding
is
None
:
raise
ValueError
(
"
Please set a value for wgridding via resolve.set_wgridding().
"
)
return
_wgridding
...
...
@@ -20,6 +22,8 @@ def set_wgridding(val):
def
epsilon
():
if
_epsilon
is
None
:
raise
ValueError
(
"
Please set a value for epsilon via resolve.set_epsilon().
"
)
return
_epsilon
...
...
...
...
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
sign in
to comment