ralna / spral

Sparse Parallel Robust Algorithms Library
https://ralna.github.io/spral/
Other
102 stars 27 forks source link

Fix insufficient allocate in SSIDS C interface #199

Closed jfowkes closed 1 month ago

jfowkes commented 1 month ago

Resolves #198 (see the linked issue for details)

jfowkes commented 1 month ago

@chrhansk please test the proposed fix, if this works for you I will merge into master.

mjacobse commented 1 month ago

The ptr32 version here https://github.com/ralna/spral/blob/c26622373ab697dfb3ca410fe636acdcd520e6a7/interfaces/C/ssids.f90#L548 should probably also be fixed.

jfowkes commented 1 month ago

Good spot @mjacobse! Will add that now...

chrhansk commented 1 month ago

@jfowkes: Does fix the problem for me, looks good.