Changeset 32e9cd7 in git


Ignore:
Timestamp:
Mar 27, 1997, 11:07:37 AM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
718e6708f6fe269520bf488fb0857b6590fd9cc5
Parents:
66d043aa17d40ba553e4a049d7b3b00c55d6ce4a
Message:
stream-io wrapped by NOSTREAMIO
debug output changed to DEBOUT


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

Legend:

Unmodified
Added
Removed
  • factory/int_poly.cc

    r66d043 r32e9cd7  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: int_poly.cc,v 1.1 1996-05-23 09:33:05 stobbe Exp $
     2// $Id: int_poly.cc,v 1.2 1997-03-27 10:07:37 schmidt Exp $
    33
    44/*
    55$Log: not supported by cvs2svn $
     6Revision 1.1  1996/05/23 09:33:05  stobbe
     7"modulocoeff: Bug fix, invert is now handled as it should be.
     8"
     9
    610// Revision 1.0  1996/05/17  10:59:46  stobbe
    711// Initial revision
     
    913*/
    1014
     15#ifndef NOSTREAMIO
    1116#include <string.h>
    1217#include <strstream.h>
     18#endif /* NOSTREAMIO */
    1319
    1420#include "assert.h"
     21
    1522#include "cf_defs.h"
     23
    1624#include "cf_factory.h"
    1725#include "int_cf.h"
     
    4351InternalPoly::InternalPoly( const InternalPoly& )
    4452{
    45     cerr << "ups there is something wrong in your code" << endl;
    46 }; 
     53    ASSERT( 0, "ups there is something wrong in your code" );
     54};
    4755
    4856InternalPoly::~InternalPoly()
     
    134142}
    135143
     144#ifndef NOSTREAMIO
    136145void
    137146InternalPoly::print(ostream &aStream, char * aString )
    138147{
    139     if ( ! firstTerm ) 
     148    if ( ! firstTerm )
    140149        aStream << 0 << aString;
    141150    else {
     
    176185    }
    177186}
     187#endif /* NOSTREAMIO */
    178188
    179189InternalCF*
     
    9901000InternalPoly::copyTermList ( termList aTermList, termList& theLastTerm, bool negate )
    9911001{
    992     if ( aTermList == 0 ) 
     1002    if ( aTermList == 0 )
    9931003        return 0;
    9941004    else  if ( negate ) {
     
    10291039InternalPoly::deepCopyTermList ( termList aTermList, termList& theLastTerm )
    10301040{
    1031     if ( aTermList == 0 ) 
     1041    if ( aTermList == 0 )
    10321042        return 0;
    10331043    else {
     
    11121122                    predCursor = theList;
    11131123                }
    1114             else 
     1124            else
    11151125                if ( predCursor ) {
    11161126                    predCursor->next = new term( theCursor, aCursor->coeff, aCursor->exp );
     
    11221132                }
    11231133            aCursor = aCursor->next;
    1124         }       
     1134        }
    11251135        else {
    11261136            predCursor = theCursor;
Note: See TracChangeset for help on using the changeset viewer.