Commons Math
  1. Commons Math
  2. MATH-742

Please make PolynomialSplineFunction Serializable

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Roeth
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development