POLY_FIT backward-compatible solution: Use 4.0. [message #11521] |
Mon, 30 March 1998 00:00 |
Russ Welti (on mapper
Messages: 9 Registered: January 1998
|
Junior Member |
|
|
For anyone who, like me, supports IDL installations still
using 4.0, there is no way to have a single source version
of your IDL application which uses the new 5.0 POLY_FIT,
since the 4.0 version has no /DOUBLE keyword.
Until the whole world uses IDL 5.0, the solution must be to
use the 4.0 POLY_FIT and distribute it with your source code,
so the 5.0 site will have it. There is no accuracy penalty, and
I can't perceive any speed differences.
That is the only way to avoid having version-
dependent code. (I don't find anything in the Index under
"version" that would let me determine the IDL engine's
version, anyway, even if I were interested in doing that
kind of workaround...)
/
Russ Welti /-\
(c-g)
University of Washington \-/
Molecular Biotechnology /
PO Box 357730 /-\
Seattle, WA 98195 (a-t)
rwelti@u.washington.edu \-/
(206) 616 5116 voice (206) 685 7301 FAX /
|
|
|