Changeset cd62b6 in git


Ignore:
Timestamp:
Oct 22, 2014, 3:32:25 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
b4c29d38c480baed2f6dad82aadd94daf26a455a
Parents:
06f38e104526d5f14601428e461a6877c1d43d66
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-10-22 15:32:25+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-10-22 15:42:36+02:00
Message:
fix: copy attributes
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r06f38e rcd62b6  
    35343534    attr *aa=u->Attribute();
    35353535    attr a=NULL;
    3536     if (aa!=NULL) a=(*aa)->Copy();
     3536    if ((aa!=NULL)&&(*aa!=NULL)) a=(*aa)->Copy();
    35373537    jjSTD_1_ID(res,(ideal)u->CopyD(),r,(ideal)v->CopyD(),a);
    35383538  }
  • Singular/lists.cc

    r06f38e rcd62b6  
    105105  l->m[pos].flag=v->flag;
    106106  attr *a=v->Attribute();
    107   if (a!=NULL)
     107  if ((a!=NULL)&&(*a!=NULL))
    108108  {
    109109    l->m[pos].attribute=(*a)->Copy();
Note: See TracChangeset for help on using the changeset viewer.