Browse Source

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

Replace ft_getpnames() by ft_getpnames_quotes().
pre-master-46
Holger Vogt 4 years ago
parent
commit
ee2f3a72f4
  1. 2
      src/frontend/fourier.c

2
src/frontend/fourier.c

@ -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) {

Loading…
Cancel
Save