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

use getAsRealParameter not getBEASTObject #133

Open
walterxie opened this issue Feb 20, 2024 · 0 comments
Open

use getAsRealParameter not getBEASTObject #133

walterxie opened this issue Feb 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@walterxie
Copy link
Collaborator

walterxie commented Feb 20, 2024

getBEASTObject returns BEASTInterface, it may cause : Input 102: type mismatch for input, during runtime in beast2.

Such as

yuleModel.setInputValue("birthDiffRate", context.getBEASTObject(generator.getBirthRate()));

use getAsRealParameter.

@walterxie walterxie added the bug Something isn't working label Feb 20, 2024
walterxie added a commit that referenced this issue Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant