Changeset a5490d in git


Ignore:
Timestamp:
Jul 23, 2019, 3:49:28 PM (4 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
408d0ac6fb66db4f8104c49c7a7da96edffb1870
Parents:
cbe2b8aae1c5fbe6a880c1773dd0c3b82cfcdb51
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2019-07-23 15:49:28+02:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2019-07-23 15:57:59+02:00
Message:
allow ordering L([int]) in create_ring()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    rcbe2b8a ra5490d  
    25722572{
    25732573  string name;
    2574   intvec w;
     2574  def w;   // int for name == "L", intvec otherwise
    25752575  int b1 = find(ordering, "(", 1);
    25762576  if (b1 == 0)   // no parentheses
     
    25932593    if (c == 0)
    25942594    {
    2595       w = 1:int(ordering[b1+1, b2-b1-1]);
     2595      if (name == "L")
     2596      {
     2597        w = int(ordering[b1+1, b2-b1-1]);
     2598      }
     2599      else
     2600      {
     2601        w = 1:int(ordering[b1+1, b2-b1-1]);
     2602      }
    25962603    }
    25972604    else
Note: See TracChangeset for help on using the changeset viewer.