Skip to content

rewrite NDArray struct to use shared_ptr#3116

Merged
asalmgren merged 2 commits intoerf-model:developmentfrom
hklion:ndarray_shared_ptr
Apr 10, 2026
Merged

rewrite NDArray struct to use shared_ptr#3116
asalmgren merged 2 commits intoerf-model:developmentfrom
hklion:ndarray_shared_ptr

Conversation

@hklion
Copy link
Copy Markdown
Contributor

@hklion hklion commented Apr 10, 2026

Modify NDArray struct to use shared_ptr rather than a raw pointer. This addresses any memory leaks from the use of a raw pointer with unclear ownership and refcounting semantics.

@asalmgren asalmgren merged commit 36cefaf into erf-model:development Apr 10, 2026
26 checks passed
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