Changeset c9cd73 in git for Singular


Ignore:
Timestamp:
Jul 5, 2022, 12:13:32 PM (22 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
16c27a21d004903f072a40cddcbf292a35a04b73
Parents:
1e1107a681a138069578c0396533c84b0b2e0ca3
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2022-07-05 12:13:32+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2022-07-05 13:30:50+02:00
Message:
opt: removed unnneeded std, added example
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/locnormal.lib

    r1e1107 rc9cd73  
    11//////////////////////////////////////////////////////////////////////////////
    2 version="version locnormal.lib 4.1.2.0 Feb_2019 "; // $Id$
     2version="version locnormal.lib 4.3.1.0 Jul_2022 "; // $Id$
    33category="Commutative Algebra";
    44info="
     
    145145  if (printTimings==1) {"Time for modStd/std Jacobian "+string(timer-t);}
    146146
     147  int dim_J=dim(J);
    147148  setring R;
    148149  ideal U;
    149150  poly condu;
    150151  ideal J = fetch(Q, J);
    151   J = std(J);
    152152
    153153  // Already normal
    154   if (dim(J) < 0) {
    155      U = 1;
    156      condu = 1;
    157      return(list(U, condu));
     154  if (dim_J < 0)
     155  {
     156     return(list(ideal(1), poly(1)));
    158157  }
    159158
Note: See TracChangeset for help on using the changeset viewer.