Changeset 592906 in git


Ignore:
Timestamp:
Feb 12, 2009, 2:45:23 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
823ff85bb3686ca565d6b9aa91244886d77daa65
Parents:
f349c5396e73ff26cd89cf807a76da5f41d2bd71
Message:
*hannes: format


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    rf349c5 r592906  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.67 2009-02-12 13:31:22 motsak Exp $ */
     4/* $Id: ideals.cc,v 1.68 2009-02-12 13:45:23 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    13151315  Print("Prepare::h2: ");
    13161316  idPrint(h2);
    1317 #endif 
    13181317#endif
    1319  
     1318#endif
     1319
    13201320  for (j=0; j<=i; j++)
    13211321  {
     
    13431343  Print("Prepare::currQuotient: ");
    13441344  idPrint(currQuotient);
    1345 #endif 
    13461345#endif
    1347  
    13481346#endif
    13491347
    1350  
     1348#endif
     1349
     1350
    13511351  h3 = kStd(h2,currQuotient,h,w,NULL,syzcomp);
    13521352  idDelete(&h2);
     
    15641564  rSetSyzComp(k);
    15651565
    1566  
     1566
    15671567#if MYTEST
    15681568#ifdef RDEBUG
    15691569  rWrite(syz_ring);
    15701570  rDebugPrint(syz_ring);
    1571 #endif 
    15721571#endif
    1573  
     1572#endif
     1573
    15741574  ideal s_h1=h1;
    15751575
     
    15831583  Print("Input: ");
    15841584  idPrint(s_h1);
    1585 #endif 
    15861585#endif
    1587  
     1586#endif
     1587
    15881588
    15891589  ideal s_h3=idPrepare(s_h1,h,k,&w);
     
    15931593  Print("Prepare: ");
    15941594  idPrint(s_h3);
    1595 #endif 
     1595#endif
    15961596#endif
    15971597
     
    16021602  Print("Temp: ");
    16031603  idPrint(s_h2);
    1604 #endif 
    16051604#endif
    1606  
     1605#endif
     1606
    16071607  if (w!=NULL) delete w;
    16081608  i = 0;
     
    16401640  Print("Input'': ");
    16411641  idPrint(s_h3);
    1642 #endif 
     1642#endif
    16431643#endif
    16441644
     
    16501650  Print("Temp Result: ");
    16511651  idPrint(s_h2);
    1652 #endif 
    16531652#endif
    1654 
    1655  
     1653#endif
     1654
     1655
    16561656  if (syz_ring!=orig_ring)
    16571657  {
     
    16981698  Print("Output Matrix: ");
    16991699  iiWriteMatrix(*ma, "ma", 2, 4);
    1700 #endif 
    17011700#endif
    1702  
     1701#endif
     1702
    17031703
    17041704  if (syz_ring!=orig_ring) rKill(syz_ring);
     
    24702470    wCall(h1->m, sl, x, wNsqr);
    24712471    for (sl = pVariables; sl!=0; sl--)
    2472       wv[1][sl-1] = x[sl + pVariables + 1]; 
     2472      wv[1][sl-1] = x[sl + pVariables + 1];
    24732473    omFreeSize((ADDRESS)x, 2 * (pVariables + 1) * sizeof(int));
    24742474
     
    40514051      */
    40524052
    4053       int cc = gen % m;     
     4053      int cc = gen % m;
    40544054      if( cc == 0) cc = m;
    40554055      int vv = 1 + (gen - cc) / m;
     
    40684068
    40694069
    4070       p_SetExp(h, vv, 1 + p_GetExp(h, vv, rRing) , rRing); // h *= var(j) &&
    4071       p_SetComp(h, cc, rRing); 
     4070      p_AddExp(h, vv, 1, rRing); // h *= var(j) &&
     4071      p_SetComp(h, cc, rRing);
    40724072
    40734073      p_Setm(h, rRing);         // addjust degree after the previous steps!
Note: See TracChangeset for help on using the changeset viewer.