Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
Johannes Pfeifer
dynare
Commits
d049c0b9
Commit
d049c0b9
authored
2 months ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
DSMH: filter out case where number of particles is too small
parent
3290f3ab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/estimation/check_posterior_sampler_options.m
+3
-0
3 additions, 0 deletions
matlab/estimation/check_posterior_sampler_options.m
with
3 additions
and
0 deletions
matlab/estimation/check_posterior_sampler_options.m
+
3
−
0
View file @
d049c0b9
...
...
@@ -506,6 +506,9 @@ if init
end
end
if
posterior_sampler_options
.
particles
<
posterior_sampler_options
.
N
*
posterior_sampler_options
.
G
error
(
'check_posterior_sampler_options:: DSMH requires particles to be at least than N*G = %u '
,
posterior_sampler_options
.
N
*
posterior_sampler_options
.
G
);
end
options_
.
mode_compute
=
0
;
options_
.
cova_compute
=
0
;
options_
.
mh_replic
=
0
;
...
...
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