You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I wrote a discrete SIR model with odin. When I try to compile it, I get the followiing obscure error:
Generating model in c
Error in vapply(X, FUN, character(1), ...) : values must be length 1,
but FUN(X[[1]]) result is length 0
What is weird is that the line of the error is not indicated. (It could be related to the issue #184)
Do you have any advice to debug the code (the model is around 600 lines long)?
Thank you very much.
The text was updated successfully, but these errors were encountered:
This is most likely an issue where there is a bug in your model but also a bug in odin trying to report this back to you. It's possible that the result of traceback() immediately after the error will be informative, but more likely that I would need your model code to reproduce
Hello,
I wrote a discrete SIR model with odin. When I try to compile it, I get the followiing obscure error:
Generating model in c
Error in vapply(X, FUN, character(1), ...) : values must be length 1,
but FUN(X[[1]]) result is length 0
What is weird is that the line of the error is not indicated. (It could be related to the issue #184)
Do you have any advice to debug the code (the model is around 600 lines long)?
Thank you very much.
The text was updated successfully, but these errors were encountered: