Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-742

Please make PolynomialSplineFunction Serializable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.2
    • None
    • None
    • None

    Description

      PolynomialSplineFunction is not Serializable, while the very similar PolynomialFunction class in the same package is. All that needs to be done is to add the import:

      import java.io.Serializable;

      and change this:

      public class PolynomialSplineFunction implements DifferentiableUnivariateRealFunction

      to this:

      public class PolynomialSplineFunction implements DifferentiableUnivariateRealFunction, Serializable

      I made exactly that modification to a local copy and it serialized successfully. Before the change, I got serialization errors.

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            neilroeth Neil Roeth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: