Changeset 132ea1 in git


Ignore:
Timestamp:
Dec 2, 2010, 6:07:07 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
df25515e5a209f5cb9b30b03ebc937086fc057a6
Parents:
81c0a0bbb80c9a73c2db30c5b9b6457931131160
Message:
code cleanup: idrCopy

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

Legend:

Unmodified
Added
Removed
  • kernel/prCopy.cc

    r81c0a0 r132ea1  
    123123
    124124/////////////////////////////////////////////////////////////////////////
    125 // idrCopy
    126125/// Copy leading terms of id[i] via prHeeadR into dest_r
    127126ideal idrHeadR(ideal id, ring r, ring dest_r)
     
    141140  return res;
    142141}
    143 
    144142
    145143
     
    161159}
    162160
    163 ideal idrCopy(ideal id, ring dest_r)
    164 {
    165   ideal res;
    166   prCopyProc_t prproc;
    167   if (rField_has_simple_Alloc(dest_r))
    168     prproc = pr_Copy_REqual_NSimple_NoSort;
    169   else
    170     prproc = pr_Copy_REqual_NoNSimple_NoSort;
    171   res =  idrCopy(id, dest_r, dest_r, prproc);
    172   return res;
    173 }
    174 
    175161ideal idrCopyR(ideal id, ring src_r, ring dest_r)
    176162{
Note: See TracChangeset for help on using the changeset viewer.