Skip to content

Conversation

@bdice
Copy link
Contributor

@bdice bdice commented Dec 18, 2025

Fixes optional seed assignment in spectral_embedding.cuh.

The spectral_embedding_config.seed is std::optional<uint64_t> but config.seed is uint64_t. This fix checks if the optional has a value before assigning it.

@aamijar
Copy link
Member

aamijar commented Dec 18, 2025

Isn't config.seed also std::optional<uint64_t>?

@aamijar aamijar self-requested a review December 18, 2025 08:15
The spectral_embedding_config.seed is std::optional<uint64_t> but
config.seed is uint64_t. This fix checks if the optional has a value
before assigning it, preventing implicit conversion issues.
@cjnolet cjnolet added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Jan 5, 2026
@cjnolet cjnolet moved this from Todo to In Progress in Vector Search, ML, & Data Mining Release Board Jan 5, 2026
@bdice
Copy link
Contributor Author

bdice commented Jan 9, 2026

This is no longer needed. @aamijar changed the type in rapidsai/raft@f4a331e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Development

Successfully merging this pull request may close these issues.

3 participants