gnudatalanguage / gdl

GDL - GNU Data Language
GNU General Public License v2.0
270 stars 61 forks source link

interpol returns float result for complex input data #1843

Closed brandy125 closed 1 month ago

brandy125 commented 1 month ago

The resulting array should be complex.

GDL> c=interpol(complexarr(100),findgen(100),findgen(100))
GDL> help,c
C               FLOAT     = Array[100]
GillesDuvert commented 1 month ago

Fortunately interpol is a procedure, much easier to add this specific case! Thanks!