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

Patch for case when Y is a TensorVariable #206

Merged
merged 2 commits into from
Dec 19, 2024
Merged

Conversation

AlexAndorra
Copy link
Contributor

#202 enabled passing y as SharedVariable, but for some reason, sometimes Y is cast to TensorVariable somewhere upstream, even though it's declared as a SharedVariable in the model.

This PR just makes sure this case is also handled

@AlexAndorra AlexAndorra added the bug Something isn't working label Dec 19, 2024
@AlexAndorra AlexAndorra self-assigned this Dec 19, 2024
pymc_bart/bart.py Outdated Show resolved Hide resolved
Co-authored-by: Osvaldo A Martin <aloctavodia@gmail.com>
@aloctavodia aloctavodia merged commit 77116d1 into main Dec 19, 2024
4 checks passed
@aloctavodia aloctavodia deleted the patch-shared-var branch December 19, 2024 18:02
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

Successfully merging this pull request may close these issues.

2 participants