Skip to content

fix(ode): initialize coeffs to zero in compute_coeffs - #3300

Open
bcaddy wants to merge 1 commit into
kokkos:developfrom
bcaddy:dev-init-to-zero
Open

bcaddy wants to merge 1 commit into
kokkos:developfrom
bcaddy:dev-init-to-zero

Conversation

@bcaddy

@bcaddy bcaddy commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Except for the first row, column zero of coeffs is left uninitialized. This isn't an issue if the user passes in a fresh View for temp2 but if that View has been previously used or it's an unmanaged View then there's no guarantees that the memory will arrive properly initialized to zero.

Assisted-by: Claude:fable-5

Except for the first row, column zero of `coeffs` is left uninitialized.
This isn't an issue if the user passes in a fresh View for `temp2` but
if that View has been previously used or it's an unmanaged View then
there's no guarantees that the memory will arrive properly initialized
to zero.

Assisted-by: Claude:fable-5
Signed-off-by: Robert Caddy <rcaddy@princeton.edu>

This branch has not been deployed

No deployments
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