Commit ecfce1e6 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

use old CODE convention

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1415
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent a0842fb0
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: seriestest.cc,v 1.4 2003-12-19 14:38:17 tforb Exp $
* $Id: seriestest.cc,v 1.5 2003-12-19 14:40:32 tforb Exp $
* \author Thomas Forbriger
* \date 17/12/2002
*
......@@ -23,7 +23,7 @@
#define AFF_SERIESTEST_CC_VERSION \
"AFF_SERIESTEST_CC V1.2"
#define AFF_SERIESTEST_CC_CVSID \
"$Id: seriestest.cc,v 1.4 2003-12-19 14:38:17 tforb Exp $"
"$Id: seriestest.cc,v 1.5 2003-12-19 14:40:32 tforb Exp $"
#include <aff/series.h>
#include <aff/dump.h>
......@@ -58,23 +58,23 @@ int main()
cout << AFF_SERIESTEST_CC_CVSID << endl;
section("array dimensions");
CODE( const int N=10; )
CODE( const int N2=-5; )
CODE( const int N=5 );
CODE( const int N2=-5 );
section("create a series container");
CODE( aff::Series<int> A; )
CODE( aff::Series<int> B(4); )
CODE( aff::Series<int> C(-5,5); )
CODE( aff::Series<int> A );
CODE( aff::Series<int> B(N) );
CODE( aff::Series<int> C(N2,N) );
DUMP( A );
DUMP( B );
DUMP( C );
CODE( A=B; )
CODE( A=B );
DUMP( A );
CODE( aff::ConstSeries<int> D(C); )
CODE( for (int i=C.first(); i<=C.last(); i++) { C(i)=i; } )
CODE( aff::ConstSeries<int> D(C) );
CODE( for (int i=C.first(); i<=C.last(); i++) { C(i)=i; } );
DUMP( D );
#ifdef ILLEGAL1
CODE( D(6)=10; )
CODE( D(6)=10 );
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment