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

Solver compilation error if N < 3 #29

Open
pablokrupa opened this issue May 23, 2023 · 0 comments
Open

Solver compilation error if N < 3 #29

pablokrupa opened this issue May 23, 2023 · 0 comments
Labels
bug Something isn't working as intended

Comments

@pablokrupa
Copy link
Member

The issue comes from the use of different variables for the first prediction step, the last one, and the rest (e.g. Hi_0, Hi and Hi_N). I believe that, if N is too small, then Hi is declared as a vector, but the code still expects it to be a matrix.

Also, this might not work (period) if N = 2, since in that case there is no use for Hi, for example. The solution might simply be to check that N > 3, setting this as a requirement of the solvers generated by the toolbox.

@pablokrupa pablokrupa added the bug Something isn't working as intended label May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant