Airspace-Encounter-Models / Airspace-Encounter-Models/em-model-manned-bayes

[BUG] Outdated prior 'constant' set in em_sample.m

オープン
#44 コメント 1 件 リアクション 0 件 担当者 1 名 @aweinert-MIT が担当を希望しています GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。