Changeset f0d1e8 in git for kernel/tgb.cc


Ignore:
Timestamp:
Dec 9, 2005, 10:28:48 AM (18 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c6ed6f55d03d3ddc39f98de45cab426a2f727023
Parents:
7e0aa3a2c5008594e5362bf5644283501107a42d
Message:
*bricken: without vector


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

Legend:

Unmodified
Added
Removed
  • kernel/tgb.cc

    r7e0aa3 rf0d1e8  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: tgb.cc,v 1.49 2005-12-08 08:59:41 bricken Exp $ */
     7/* $Id: tgb.cc,v 1.50 2005-12-09 09:28:48 bricken Exp $ */
    88/*
    99* ABSTRACT: slimgb and F4 implementation
    1010*/
    11 #include <vector>
    12 using namespace std;
     11//#include <vector>
     12//using namespace std;
    1313#include "mod2.h"
    1414#include "tgb.h"
     
    29722972static void multi_reduction(red_object* los, int & losl, slimgb_alg* c)
    29732973{
    2974   vector<poly> delay;
     2974  poly* delay=(poly*) omalloc(losl*sizeof(poly));
     2975  int delay_s=0;
    29752976  //initialize;
    29762977  assume(c->strat->sl>=0);
     
    30423043                                   PrintS(".");
    30433044                               los[i].clear_to_poly();
    3044                                delay.push_back(los[i].p);
     3045                               //delay.push_back(los[i].p);
     3046                               delay[delay_s]=los[i].p;
     3047                               delay_s++;
    30453048                               //add_to_basis_ideal_quotient(
    30463049                               //   los[i].p,-1,-1,c,NULL);
     
    30803083  }
    30813084 
    3082   int delay_s=delay.size();
     3085  //int delay_s=delay.size();
    30833086  //int i;
    30843087  sorted_pair_node** pairs=(sorted_pair_node**)
     
    31043107  c->apairs=spn_merge(c->apairs,c->pair_top+1,pairs,delay_s,c);
    31053108  c->pair_top+=delay_s;
    3106  
     3109  omfree(delay);
    31073110  return;
    31083111}
Note: See TracChangeset for help on using the changeset viewer.