Changeset 9d34f0 in git


Ignore:
Timestamp:
Jan 8, 2009, 10:42:48 AM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
Children:
35eef23de304e5ae3c4f51aadb5be842bb3f3c8a
Parents:
88efd2b0180b92fc7199a6f36fe76955ba0db379
Message:
*hannes: rCopy0: bitmask


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

Legend:

Unmodified
Added
Removed
  • kernel/ring.cc

    r88efd2 r9d34f0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.111 2009-01-07 18:03:28 Singular Exp $ */
     4/* $Id: ring.cc,v 1.112 2009-01-08 09:42:48 Singular Exp $ */
    55
    66/*
     
    14661466  int i,j;
    14671467  ring res=(ring)omAllocBin(ip_sring_bin);
    1468   //memset(res,0,sizeof(ip_sring));
    1469   memcpy4(res,r,sizeof(ip_sring));
     1468  memset(res,0,sizeof(ip_sring));
     1469  //memcpy4(res,r,sizeof(ip_sring));
    14701470  res->idroot=NULL; /* local objects */
    14711471  //ideal      minideal;
     
    15381538  res->VarL_Size=0;
    15391539
    1540   //short      BitsPerExp; /* number of bits per exponent */
    1541   res->BitsPerExp=0;
    1542   //short      ExpPerLong; /* maximal number of Exponents per long */
    1543   res->ExpPerLong=0;
    1544 
    15451540  //short      pCompIndex; /* p->exp.e[pCompIndex] is the component */
    15461541  res->pCompIndex=0;
     
    15741569  res->VarL_Offset=NULL;
    15751570
     1571  // the following are set by rComplete unless predefined
     1572  // therefore, we copy these values: maybe they are non-standard
    15761573  /* mask for getting single exponents */
    1577   //unsigned long bitmask;
    1578   res->bitmask=0;
     1574  res->bitmask=r->bitmask;
    15791575  /* mask used for divisiblity tests */
    1580   //unsigned long divmask;
    1581   res->divmask=0;
     1576  res->divmask=r->divmask;
     1577  res->BitsPerExp = r->BitsPerExp;
     1578  res->ExpPerLong =  r->ExpPerLong;
    15821579
    15831580  //p_Procs_s*    p_Procs;
Note: See TracChangeset for help on using the changeset viewer.