3
$\begingroup$

Consider the following

prec = 32;
x = N[Range[0, 1, 1/10], prec];
f = Interpolation[Transpose@{x, y}];

Then

Precision /@ {f["Coordinates"], f["ValuesOnGrid"]}

gives

{32., 32.}

as expected. Now if I export f using DumpSave[] and read it back

DumpSave["~/tmp/f.mx", f];Clear[f];Get["~/tmp/f.mx"];

then surprisingly

Precision /@ {f["Coordinates"], f["ValuesOnGrid"]}

returns

{32., MachinePrecision}

Is it a bug on "11.3.0 for Mac OS X x86 (64-bit) (March 7, 2018)", and how to fix this?

$\endgroup$
  • $\begingroup$ You can save only the coordinates and re-run the Interpolation again after getting data back. It does not take too much time.. $\endgroup$ – Rom38 Apr 2 at 4:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.