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 sample view #288

Merged
merged 4 commits into from
Jan 15, 2024
Merged

Fix sample view #288

merged 4 commits into from
Jan 15, 2024

Conversation

nahueespinosa
Copy link
Member

Proposed changes

Make sure to set weight equal to 1 after sampling from a particle set.

Type of change

  • 🐛 Bugfix (change which fixes an issue)
  • 🚀 Feature (change which adds functionality)
  • 📚 Documentation (change which fixes or extends documentation)

Checklist

  • Lint and unit tests (if any) pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • All commits have been signed for DCO

@nahueespinosa nahueespinosa added bug Something isn't working cpp Related to C++ code labels Jan 14, 2024
@nahueespinosa nahueespinosa self-assigned this Jan 14, 2024
Make sure to set weight equal to 1 after sampling from a particle set.

Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Copy link
Collaborator

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM

beluga/include/beluga/views/sample.hpp Outdated Show resolved Hide resolved
beluga/test/beluga/test_tuple_vector.cpp Outdated Show resolved Hide resolved
beluga/include/beluga/tuple_vector.hpp Show resolved Hide resolved
nahueespinosa and others added 3 commits January 15, 2024 09:06
Co-authored-by: Michel Hidalgo <michel@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
@nahueespinosa nahueespinosa merged commit da5b462 into main Jan 15, 2024
8 checks passed
@nahueespinosa nahueespinosa deleted the nahuel/fix-sample branch January 15, 2024 14: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 cpp Related to C++ code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants