Enable math characters in vector (node) names for command fourier

Replace ft_getpnames() by ft_getpnames_quotes().
This commit is contained in:
Holger Vogt 2021-11-06 13:07:26 +01:00
parent 98b7074287
commit ee2f3a72f4
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ fourier(wordlist *wl, struct plot *current_plot)
nphase = TMALLOC(double, nfreqs);
wl = wl->wl_next;
names = ft_getpnames(wl, TRUE);
names = ft_getpnames_quotes(wl, TRUE);
for (pn = names; pn; pn = pn->pn_next) {
vec = ft_evaluate(pn);
for (; vec; vec = vec->v_link2) {