Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_BNT giving error for function CPD_to_CPT #70

Open
meghalD opened this issue May 29, 2019 · 0 comments
Open

test_BNT giving error for function CPD_to_CPT #70

meghalD opened this issue May 29, 2019 · 0 comments

Comments

@meghalD
Copy link

meghalD commented May 29, 2019

I followed all the relevant steps and ran test_BNT command. It ran properly for a while but gave an error at a later stage for CPD_to_CPT function name. I even tried changing the name of the function for the files mentioned in the error but it made the situation worse.

Error was as follows:

_

Error: File: CPD_to_CPT.m Line: 36 Column: 16
Function with duplicate name "CPD_to_CPT" cannot be defined.

Error in discrete_CPD/convert_to_pot (line 14)
CPT1 = CPD_to_CPT(CPD);

Error in jtree_inf_engine/enter_evidence (line 57)
pot{n} = convert_to_pot(bnet.CPD{e}, pot_type, fam(:), evidence);

Error in qmr1 (line 84)
tic; [engine{2}, ll(2)] = enter_evidence(engine{2}, big_evidence); toc

_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant