Changeset a3bc95e in git for Singular/kbuckets.cc


Ignore:
Timestamp:
Oct 9, 2001, 6:36:27 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
7497ef3773fc1afff892546445b1d82b1cf0fb05
Parents:
e58c4abd91b68d128331a23f3f9dd76dff924048
Message:
*hannes: namespaces ->ns


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

Legend:

Unmodified
Added
Removed
  • Singular/kbuckets.cc

    re58c4a ra3bc95e  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kbuckets.cc,v 1.23 2000-12-31 15:14:32 obachman Exp $ */
     4/* $Id: kbuckets.cc,v 1.24 2001-10-09 16:36:06 Singular Exp $ */
    55
    66#include "mod2.h"
     
    121121  *bucket_pt = NULL;
    122122}
    123  
     123
    124124
    125125void kBucketDeleteAndDestroy(kBucket_pt *bucket_pt)
     
    190190  assume(length <= 0 || length == pLength(lm));
    191191  assume(kBucketIsCleared(bucket));
    192  
     192
    193193  if (lm == NULL) return;
    194194
     
    322322///
    323323/// For changing the ring of the Bpoly to new_tailBin
    324 /// 
     324///
    325325void kBucketShallowCopyDelete(kBucket_pt bucket,
    326326                              ring new_tailRing, omBin new_tailBin,
     
    329329#ifndef HAVE_PSEUDO_BUCKETS
    330330  int i;
    331  
     331
    332332  kBucketCanonicalize(bucket);
    333333  for (i=0; i<= bucket->buckets_used; i++)
    334334    if (bucket->buckets[i] != NULL)
    335       bucket->buckets[i] = p_shallow_copy_delete(bucket->buckets[i], 
     335      bucket->buckets[i] = p_shallow_copy_delete(bucket->buckets[i],
    336336                                                 bucket->bucket_ring,
    337337                                                 new_tailRing,
     
    385385  else
    386386    l1 = *l;
    387  
     387
    388388  kBucketMergeLm(bucket);
    389389  kbTest(bucket);
     
    442442  {
    443443    p1 = p_Minus_mm_Mult_qq(bucket->buckets[i], m, p1,
    444                             bucket->buckets_length[i], l1, 
     444                            bucket->buckets_length[i], l1,
    445445                            spNoether, r);
    446446    l1 = bucket->buckets_length[i];
     
    462462    pSetCoeff0(m, nNeg(pGetCoeff(m)));
    463463  }
    464    
     464
    465465  while (bucket->buckets[i] != NULL)
    466466  {
     
    526526    p1 = r->p_Procs->pp_Mult_mm(p1, m, r, last);
    527527  }
    528    
     528
    529529  while (bucket->buckets[i] != NULL)
    530530  {
Note: See TracChangeset for help on using the changeset viewer.