Changeset fc8d35 in git
- Timestamp:
- Mar 24, 2011, 4:22:39 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 0dfa244172c41202ec5a6f6e99d2e04d2f572a2f
- Parents:
- 22d1b1b8711921372328997bce54200d7b93ac90
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipassign.cc
r22d1b1b rfc8d35 601 601 if ((idElem(id)>1) || rIsSCA(currRing) || (currRing->qideal!=NULL)) 602 602 assumeStdFlag(a); 603 603 604 604 #ifdef HAVE_RINGS 605 605 if (rField_is_Ring(currRing)) … … 781 781 failed= dAssign[i].p(ld,rn,l->e); 782 782 if (TEST_V_ALLWARN) 783 783 Print("assign %s=%s ok? %d\n",Tok2Cmdname(lt),Tok2Cmdname(rn->rtyp),!failed); 784 784 } 785 785 // everything done, clean up temp. variables … … 1043 1043 while (hh!=NULL) 1044 1044 { 1045 if (i>=iv->length()) break; 1045 if (i>=iv->length()) 1046 { 1047 if (TEST_V_ALLWARN) 1048 { 1049 Warn("expression list length(%d) does not match intmat size(%d)", 1050 iv->length()+exprlist_length(hh),iv->length()); 1051 } 1052 break; 1053 } 1046 1054 if (hh->Typ() == INT_CMD) 1047 1055 { … … 1382 1390 l->e=h; 1383 1391 } 1384 1385 1386 1387 1388 1392 if ((!b) && (like_lists==1)) 1393 { 1394 // check blackbox/newtype type: 1395 if(bb->blackbox_Check(bb,l->Data())) return TRUE; 1396 } 1389 1397 return b; 1390 1398 } … … 1393 1401 rl=r->listLength(); 1394 1402 if (rl==1) 1395 { 1403 { 1396 1404 /* system variables = ... */ 1397 1405 if(((l->rtyp>=VECHO)&&(l->rtyp<=VPRINTLEVEL)) … … 1538 1546 num=olm->cols()*olm->rows(); 1539 1547 lm=mpNew(olm->rows(),olm->cols()); 1548 int el; 1549 if ((TEST_V_ALLWARN) && (num!=(el=exprlist_length(hh)))) 1550 { 1551 Warn("expression list length(%d) does not match matrix size(%d)",el,num); 1552 } 1540 1553 } 1541 1554 else /* IDEAL_CMD or MODUL_CMD */
Note: See TracChangeset
for help on using the changeset viewer.