Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
lscsoft
bilby
Commits
30afa845
Commit
30afa845
authored
2 years ago
by
Colm Talbot
Browse files
Options
Downloads
Patches
Plain Diff
BUGFIX: Resolve "dynamic_dynesty requires nlive_init to be specified"
parent
e73045f8
No related branches found
No related tags found
1 merge request
!1185
BUGFIX: Resolve "dynamic_dynesty requires nlive_init to be specified"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bilby/core/sampler/dynamic_dynesty.py
+10
-1
10 additions, 1 deletion
bilby/core/sampler/dynamic_dynesty.py
with
10 additions
and
1 deletion
bilby/core/sampler/dynamic_dynesty.py
+
10
−
1
View file @
30afa845
...
...
@@ -17,7 +17,16 @@ class DynamicDynesty(Dynesty):
@property
def
nlive
(
self
):
return
self
.
kwargs
[
"
nlive_init
"
]
"""
Users can either specify :code:`nlive_init` or :code:`nlive` (with
that precedence) or specify no value, in which case 500 is used.
"""
if
self
.
kwargs
[
"
nlive_init
"
]
is
not
None
:
return
self
.
kwargs
[
"
nlive_init
"
]
elif
self
.
kwargs
[
"
nlive
"
]
is
not
None
:
return
self
.
kwargs
[
"
nlive
"
]
else
:
return
500
@property
def
sampler_init
(
self
):
...
...
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