Changeset 9febd16 in git


Ignore:
Timestamp:
Dec 20, 2013, 10:57:23 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
b2cb7b48301812323aeeb1e1bd6dd5fce53626b4dbda5c76b91ccf86517fed307a796c0373fadd05
Parents:
b3a87c62226305c750632a00317cc0d6e6b9404d
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-12-20 10:57:23+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-12-20 11:00:09+01:00
Message:
fix: int(27/2-1/2) corrupts memory
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rb3a87c6 r9febd16  
    54665466static BOOLEAN jjnInt(leftv res, leftv u)
    54675467{
    5468   number n=(number)u->Data();
     5468  number n=(number)u->CopyD(); // n_Int may call n_Normalize
    54695469  res->data=(char *)(long)n_Int(n,currRing->cf);
     5470  n_Delete(&n,currRing->cf);
    54705471  return FALSE;
    54715472}
Note: See TracChangeset for help on using the changeset viewer.