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 transition_latent_value bug by using base_relation->nearest on latent_value_candidates #224

Merged
merged 4 commits into from
Oct 4, 2024

Conversation

ThomasColthurst
Copy link

No description provided.

Copy link

@emilyfertig emilyfertig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, kudos for putting this together so fast.

@@ -518,6 +518,17 @@ class CleanRelation : public Relation<T> {
}
}

ValueType nearest(const ValueType& x, const T_items& items, std::mt19937* prng) const {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For new methods we've been using the convention of prng first

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ThomasColthurst ThomasColthurst merged commit e5ee5db into master Oct 4, 2024
2 checks passed
@ThomasColthurst ThomasColthurst deleted the 031024-thomaswc-nearest2 branch October 4, 2024 13:49
emilyfertig pushed a commit that referenced this pull request Oct 4, 2024
Fix transition_latent_value bug by using base_relation->nearest on latent_value_candidates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants