Changeset c987db in git
- Timestamp:
- Feb 3, 2023, 4:53:58 PM (8 months ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 103e305ddf0f8228433a0d21ef52f9aeab76c8b5
- Parents:
- ad2543eab51733612ba7d118afc77edca719600e
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2023-02-03 16:53:58+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2023-02-03 16:56:13+01:00
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rad2543e rc987db 4362 4362 matrix mat=(matrix)v->CopyD(MATRIX_CMD); 4363 4363 IDELEMS((ideal)mat)=MATCOLS(mat)*MATROWS(mat); 4364 if (IDELEMS((ideal)mat)==0) 4365 { 4366 idDelete((ideal *)&mat); 4367 mat=(matrix)idInit(1,1); 4368 } 4369 else 4370 { 4371 MATROWS(mat)=1; 4372 mat->rank=1; 4373 idTest((ideal)mat); 4374 } 4364 MATROWS(mat)=1; 4365 mat->rank=1; 4375 4366 res->data=(char *)mat; 4376 4367 return FALSE; -
libpolys/polys/matpol.cc
rad2543e rc987db 37 37 matrix mpNew(int r, int c) 38 38 { 39 int rr=r;40 if (rr<=0) rr=1;41 //if ( (((int)(MAX_INT_VAL/sizeof(poly))) / rr) <= c)42 //{43 // Werror("internal error: creating matrix[%d][%d]",r,c);44 // return NULL;45 //}46 39 matrix rc = (matrix)omAllocBin(sip_sideal_bin); 47 40 rc->nrows = r;
Note: See TracChangeset
for help on using the changeset viewer.