Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Fix GC marking of splines #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rbalint
Copy link

@rbalint rbalint commented Jun 11, 2015

Marking dependent Ruby objects is missing in many cases.
This commit marks vectors which store the data used by the splines:

From https://www.gnu.org/software/gsl/manual/html_node/Interpolation-Functions.html#Interpolation-Functions :
This function initializes the interpolation object interp for the data (xa,ya) where xa and ya are arrays of size size. The interpolation object (gsl_interp) does not save the data arrays xa and ya and only stores the static state computed from the data. The xa data array is always assumed to be strictly ordered, with increasing x values; the behavior for other arrangements is not defined.

@rbalint
Copy link
Author

rbalint commented Jun 11, 2015

I tested the fix but have not covered all code paths. Issue #21 prevents testing it extensively. :-(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant