Enable math characters in vector (node) names for command fft
Replace ft_getpnames() by ft_getpnames_quotes().
This commit is contained in:
parent
ccd9a217c3
commit
79c71a4ec3
|
|
@ -86,7 +86,7 @@ com_fft(wordlist *wl)
|
|||
if (fft_windows(window, win, time, length, maxt, span, order) == 0)
|
||||
goto done;
|
||||
|
||||
names = ft_getpnames(wl, TRUE);
|
||||
names = ft_getpnames_quotes(wl, TRUE);
|
||||
vlist = NULL;
|
||||
ngood = 0;
|
||||
for (pn = names; pn; pn = pn->pn_next) {
|
||||
|
|
@ -316,7 +316,7 @@ com_psd(wordlist *wl)
|
|||
if (fft_windows(window, win, time, length, maxt, span, order) == 0)
|
||||
goto done;
|
||||
|
||||
names = ft_getpnames(wl, TRUE);
|
||||
names = ft_getpnames_quotes(wl, TRUE);
|
||||
vlist = NULL;
|
||||
ngood = 0;
|
||||
for (pn = names; pn; pn = pn->pn_next) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue