Changeset 8b5fff in git


Ignore:
Timestamp:
May 14, 2014, 1:40:56 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
ac00e2f997277aa2e8785a67da2e1456b2c7255e
Parents:
33191a5c29aa46c70b40dea3b25382f0b1658122
Message:
better error message: access object from other rings in newstruct
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/newstruct.cc

    r33191a r8b5fff  
    388388                Werror("different ring %lx(data) - %lx(basering)",
    389389                  (long unsigned)(al->m[nm->pos-1].data),(long unsigned)currRing);
     390                Werror("name of basering: %s",IDID(currRingHdl));
     391                rWrite(currRing,TRUE);PrintLn();
     392                idhdl hh=rFindHdl((ring)(al->m[nm->pos-1].data),NULL);
     393                const char *nn="??";
     394                if (hh!=NULL) nn=IDID(hh);
     395                Werror("(possible) name of ring of data: %s",nn);
     396                rWrite((ring)(al->m[nm->pos-1].data),TRUE);PrintLn();
     397
    390398                return TRUE;
    391399              }
Note: See TracChangeset for help on using the changeset viewer.