Changeset c987db in git for Singular/iparith.cc


Ignore:
Timestamp:
Feb 3, 2023, 4:53:58 PM (10 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '379ec2d037299db64c43fe3550b5ba8fe508dbe5')
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
Message:
opt: matrix->ideal
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rad2543e rc987db  
    43624362  matrix mat=(matrix)v->CopyD(MATRIX_CMD);
    43634363  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;
    43754366  res->data=(char *)mat;
    43764367  return FALSE;
Note: See TracChangeset for help on using the changeset viewer.