Changeset a9ca4a in git for Singular/LIB/general.lib


Ignore:
Timestamp:
Jul 10, 2009, 8:52:05 PM (15 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
dd2b206f8cf574f337baefb7d3cec53f05bb04fd
Parents:
d5564f83d8163ea5c4d82d1f1fbef38700d668e3
Message:
*motsak: fix a bug in sort


git-svn-id: file:///usr/local/Singular/svn/trunk@11973 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/general.lib

    rd5564f8 ra9ca4a  
    33//eric, added absValue 11.04.2002
    44///////////////////////////////////////////////////////////////////////////////
    5 version="$Id: general.lib,v 1.62 2009-04-15 11:46:39 Singular Exp $";
     5version="$Id: general.lib,v 1.63 2009-07-10 18:52:05 motsak Exp $";
    66category="General purpose";
    77info="
     
    765765      if ( typeof(#[1])=="string" )
    766766      {
     767         if( typeof(id)=="matrix" )
     768         {
     769           module ID = lead(module(id));
     770         } else
     771         {
     772           def ID = lead(id);
     773         }
    767774         execute("ring r1 =("+charstr(P)+"),("+varstr(P)+"),("+#[1]+");");
    768          def i = imap(P,id);
     775         def i = imap(P,ID);
    769776         v = sortvec(i);
    770777         setring P;
Note: See TracChangeset for help on using the changeset viewer.