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

Fix GaussianBayesTree logDeterminant bug #1327

Merged
merged 3 commits into from
Nov 15, 2022
Merged

Conversation

varunagrawal
Copy link
Collaborator

I discovered a bug in the computation of the logDeterminant of the GaussianBayesTree where only the logDeterminant of the root node in the tree is returned and not the full tree.

The reason this wasn't discovered before is because the unit test for this in testGaussianBayesTree creates a BayesTree with a single node (the root node), so the unit test I added creates a BayesTree with at least 2 nodes, exposing the bug.

@varunagrawal varunagrawal added the bugfix Fixes an issue or bug label Nov 14, 2022
@varunagrawal varunagrawal self-assigned this Nov 14, 2022
@varunagrawal varunagrawal merged commit a281e1a into develop Nov 15, 2022
@varunagrawal varunagrawal deleted the fix/gbt-determinant branch November 15, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fixes an issue or bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants