Ignore:
Timestamp:
Mar 27, 1997, 11:33:48 AM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
175e355a0ee87150e6cb2aa2d24516c8ccc10122
Parents:
09a758aad44f63da7fe1dac3d01e5247cfaa1cdd
Message:
stream-io wrapped by NOSTREAMIO
definition of assertions replaced by #include <assert.h>


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

Legend:

Unmodified
Added
Removed
  • factory/templates/ftmpl_matrix.cc

    r09a758a rc753a61  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: ftmpl_matrix.cc,v 1.1 1996-12-18 15:04:23 schmidt Exp $
     2// $Id: ftmpl_matrix.cc,v 1.2 1997-03-27 10:33:48 schmidt Exp $
    33
    44/*
    55 * $Log: not supported by cvs2svn $
     6 * Revision 1.1  1996/12/18 15:04:23  schmidt
     7 * Initial revision
     8 *
    69 */
    710
    8 #include <stdio.h>
    9 #include <stdlib.h>
    10 #include "matrix.h"
    11 
    12 #undef ASSERT
    13 #undef __ASSERT
    14 #undef STICKYASSERT
    15 
    16 #ifdef NDEBUG
    17 #define ASSERT(ignore1,ignore2)((void)0)
    18 #else
    19 #define ASSERT(expression,message) \
    20 ((void)((expression) ? 0 : __ASSERT(#expression, message, __FILE__, __LINE__)))
    21 #define __ASSERT(expression, message, file, line)  \
    22 (fprintf( stderr, "error: %s\n%s:%u: failed assertion `%s'\n", \
    23  message, file, line, expression ), abort(), 0 )
    24 #endif
    25 
     11#include <templates/assert.h>
     12
     13#include <templates/matrix.h>
    2614
    2715template <class T>
     
    156144}
    157145
     146#ifndef NOSTREAMIO
    158147template <class T>
    159148void Matrix<T>::printrow ( ostream & s, int i ) const
     
    186175    }
    187176}
     177#endif /* NOSTREAMIO */
    188178
    189179template <class T>
Note: See TracChangeset for help on using the changeset viewer.