Skip to content

Pass preallocated length to serialization routine - #150

Closed
corbett5 wants to merge 1 commit into
JuliaSparse:masterfrom
corbett5:patch-1
Closed

corbett5 wants to merge 1 commit into
JuliaSparse:masterfrom
corbett5:patch-1

Conversation

@corbett5

Copy link
Copy Markdown

Without this change I sometimes get insufficient space errors from GrB_Matrix_serialize. I presume the pre-allocated length needs to be passed in, and the fact that the error is not deterministic is then explained by the fact that sz was uninitialized.

@ViralBShah

Copy link
Copy Markdown
Member

I believe this is already fixed on the v11 branch (which is now the default)

@ViralBShah ViralBShah closed this Oct 27, 2026
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