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

Error in simulation of the tapas_hgf_binary_pu_tbt model #278

Open
a-yur opened this issue Aug 15, 2024 · 0 comments
Open

Error in simulation of the tapas_hgf_binary_pu_tbt model #278

a-yur opened this issue Aug 15, 2024 · 0 comments
Labels
hgf Issues related to HGF Toolbox

Comments

@a-yur
Copy link

a-yur commented Aug 15, 2024

I get the following error message while running simulations with tapas_simModel for the tapas_hgf_binary_pu_tbt model:

Error using tapas_hgf_binary_pu_tbt_namep
Cannot determine number of levels

This can be fixed by modifying the formula for computing the number of levels in tapas_hgf_binary_pu_tbt_namep.m, line 13:

l = (length(pvec) + 1)/5; -> l = (length(pvec)-1)/5;

After the fix, the simulation runs.

I have a couple of questions regarding this issue:

  • Would that be an appropriate fix?
  • Should I create a pull request with the fix?
  • Are there any other aspects I should check in order to make sure that the simulation runs properly?
@ImreKertesz ImreKertesz added the hgf Issues related to HGF Toolbox label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hgf Issues related to HGF Toolbox
Projects
None yet
Development

No branches or pull requests

2 participants