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
2b93355c
Commit
2b93355c
authored
1 year ago
by
Colm Talbot
Browse files
Options
Downloads
Patches
Plain Diff
BUG: fix import of Pymc in example
parent
1c2cbeb6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1348
BUG: fix import of Pymc in example
Pipeline
#613503
failed
11 months ago
Stage: initial
Stage: test
Stage: docs
Stage: deploy
Changes
1
Pipelines
11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/core_examples/alternative_samplers/linear_regression_pymc_custom_likelihood.py
+1
-1
1 addition, 1 deletion
...tive_samplers/linear_regression_pymc_custom_likelihood.py
with
1 addition
and
1 deletion
examples/core_examples/alternative_samplers/linear_regression_pymc_custom_likelihood.py
+
1
−
1
View file @
2b93355c
...
...
@@ -81,7 +81,7 @@ class GaussianLikelihoodPyMC(bilby.core.likelihood.GaussianLikelihood):
likelihood is evaluated.
"""
from
bilby.core.sampler
import
Pymc
from
bilby.core.sampler
.pymc
import
Pymc
if
not
isinstance
(
sampler
,
Pymc
):
return
super
(
GaussianLikelihoodPyMC
,
self
).
log_likelihood
()
...
...
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