Changeset 9eb1e8 in git for Singular/extra.cc


Ignore:
Timestamp:
Nov 13, 2015, 1:45:14 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
66b765e3f29eeafd84422812424a97ffb5ec7c22
Parents:
6da2d6765f8866f8426131bf3a097a5c051e956e
Message:
activate: system("std_syz",<module>,<int>) for KVequiv.lib
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r6da2d6 r9eb1e8  
    613613    }
    614614    else
    615     /*======================= demon_list =====================*/
     615  /*==================== std_syz =================*/
     616    if (strcmp(sys_cmd, "std_syz") == 0)
     617    {
     618      ideal i1;
     619      int i2;
     620      if ((h!=NULL) && (h->Typ()==MODUL_CMD))
     621      {
     622        i1=(ideal)h->CopyD();
     623        h=h->next;
     624      }
     625      else return TRUE;
     626      if ((h!=NULL) && (h->Typ()==INT_CMD))
     627      {
     628        i2=(int)((long)h->Data());
     629      }
     630      else return TRUE;
     631      res->rtyp=MODUL_CMD;
     632      res->data=idXXX(i1,i2);
     633      return FALSE;
     634    }
     635    else
     636  /*======================= demon_list =====================*/
    616637    if (strcmp(sys_cmd,"denom_list")==0)
    617638    {
     
    28302851      else
    28312852  #endif
    2832   /*==================== stdX =================*/
    2833       if (strcmp(sys_cmd, "std") == 0)
    2834       {
    2835         ideal i1;
    2836         int i2;
    2837         if ((h!=NULL) && (h->Typ()==MODUL_CMD))
    2838         {
    2839           i1=(ideal)h->CopyD();
    2840           h=h->next;
    2841         }
    2842         else return TRUE;
    2843         if ((h!=NULL) && (h->Typ()==INT_CMD))
    2844         {
    2845           i2=(int)((long)h->Data());
    2846         }
    2847         else return TRUE;
    2848         res->rtyp=MODUL_CMD;
    2849         res->data=idXXX(i1,i2);
    2850         return FALSE;
    2851       }
    2852       else
    28532853  /*==================== SVD =================*/
    28542854  #ifdef HAVE_SVD
     
    28582858              res->rtyp=LIST_CMD;
    28592859            res->data=(char*)(testsvd((matrix)h->Data()));
    2860             return FALSE;
     2860            eturn FALSE;
    28612861       }
    28622862       else
Note: See TracChangeset for help on using the changeset viewer.