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

        Neil Roeth created issue -
        Leandro Ariel Pezzente made changes -
        Field Original Value New Value
        Attachment PolynomialSplineFunction.java [ 12514104 ]
        Luc Maisonobe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Thomas Neidhart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development