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

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

Đang mở
#44 1 bình luận 0 reaction 1 người được giao Được @aweinert-MIT nhận Xem trên GitHub
bug good first issue
Ngôn ngữ chính
MATLAB
Star
22
Fork
9
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.