Airspace-Encounter-Models / Airspace-Encounter-Models/em-model-manned-bayes
[BUG] Outdated prior 'constant' set in em_sample.m
- Vorherrschende Sprache
- MATLAB
- Sterne
- 22
- Forks
- 9
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Description
When sampling a correlated model with em_sample.m, line 50 sets the prior to 'constant', which is not recognized by bn_dirichlet_prior.m, and results in a terminal exception "Unknown prior of constant, if char expecting prior = 'dbe'".
### Reproducibility
Running
`em_sample('cor_v2p1.txt')`
should result in the exception.
### Expectation
Changing line 50 in em_sample.m `parms.prior = 'constant'` to `parms.prior='dbe'` should resolve the issue and produce hte expected functionality.
### Environment
Debian 10, MATLAB R2021a
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.