Changeset cf80ce in git for Singular/fglmcomb.cc


Ignore:
Timestamp:
Mar 27, 1998, 3:21:29 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0498af627b4dbd25f3b68c7b681256ffe9cfdda5
Parents:
427ba93431587575a0ada806631e26f2aa275abc
Message:
* wichmann: - use pCopy2() /pSetCoeff() instead of pSetExpV() in
              fglmNewLinearComb()


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

Legend:

Unmodified
Added
Removed
  • Singular/fglmcomb.cc

    r427ba9 rcf80ce  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: fglmcomb.cc,v 1.7 1998-01-27 14:16:14 pohl Exp $
     2// $Id: fglmcomb.cc,v 1.8 1998-03-27 14:21:29 Singular Exp $
    33
    44/****************************************
     
    193193    poly temp= monset;
    194194    for ( k= 0; k < numMonoms; k++ ) {
    195         m[k]= pOne();
    196         pSetExpV( m[k], temp->exp );
    197         pSetm( m[k] );
     195//         m[k]= pOne();
     196//         pSetExpV( m[k], temp->exp );
     197//         pSetm( m[k] );
     198        m[k]= pNew();
     199        pCopy2( m[k], temp );
     200        pSetCoeff( m[k], nInit(1) );
    198201        temp= pIter( temp );
    199202    }
     
    250253                    basisMax+= basisBS;
    251254                }
    252                 basis[basisSize]= pOne();
    253                 pSetExpV( basis[basisSize], temp->exp );
    254                 pSetm( basis[basisSize] );
     255//                 basis[basisSize]= pOne();
     256//                 pSetExpV( basis[basisSize], temp->exp );
     257//                 pSetm( basis[basisSize] );
     258                basis[basisSize]= pNew();
     259                pCopy2( basis[basisSize], temp );
     260                pSetCoeff( basis[basisSize], nInit(1) );
    255261                basisSize++;
    256262            }
Note: See TracChangeset for help on using the changeset viewer.