bug fix, dvec in a `define' can't be member of any plot

This commit is contained in:
rlar 2012-09-27 19:35:08 +02:00
parent 0280a49b69
commit 44e7f7f7bd
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ savetree(struct pnode *pn)
pn->pn_value->v_length = d->v_length;
pn->pn_value->v_type = d->v_type;
pn->pn_value->v_flags = d->v_flags;
pn->pn_value->v_plot = d->v_plot;
pn->pn_value->v_plot = NULL; /* this dvec isn't member of any plot */
if (isreal(d)) {
pn->pn_value->v_realdata = TMALLOC(double, d->v_length);
bcopy(d->v_realdata,