Airspace-Encounter-Models / Airspace-Encounter-Models/em-model-manned-bayes
[BUG] Outdated prior 'constant' set in em_sample.m
オープン
bug
good first issue
- 主要言語
- MATLAB
- スター
- 22
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。