frontend/device.c, com_alter_common(), #10/11 whitespace

This commit is contained in:
rlar 2015-12-26 19:00:12 +01:00
parent 78a0f74bbc
commit c1b9f746a3
1 changed files with 22 additions and 20 deletions

View File

@ -1321,12 +1321,13 @@ com_alter_common(wordlist *wl, int do_model)
words = words->wl_next; words = words->wl_next;
xsbuf = rem_xsbuf = wl_flatten(words); xsbuf = rem_xsbuf = wl_flatten(words);
/* fprintf(cp_err, "Chain converted %s \n", xsbuf); */ /* fprintf(cp_err, "Chain converted %s \n", xsbuf); */
list = NULL; list = NULL;
for (;;) { for (;;) {
tmp = INPevaluate(&xsbuf, &error, 1); tmp = INPevaluate(&xsbuf, &error, 1);
if (error) if (error)
break; break;
/*printf(" returning vector value %g\n", tmp); */ /* printf(" returning vector value %g\n", tmp); */
list = TREALLOC(double, list, i + 1); list = TREALLOC(double, list, i + 1);
list[i++] = tmp; list[i++] = tmp;
} }
@ -1339,6 +1340,7 @@ com_alter_common(wordlist *wl, int do_model)
dv = TMALLOC(struct dvec, 1); dv = TMALLOC(struct dvec, 1);
if (!dv) if (!dv)
return; return;
dv->v_name = copy("real vector"); dv->v_name = copy("real vector");
dv->v_type = SV_NOTYPE; dv->v_type = SV_NOTYPE;
dv->v_flags = VF_REAL; dv->v_flags = VF_REAL;