From aae588b1e2f5f73e3dac21d91620d7726074c0b1 Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 14 Mar 2001 14:33:50 +0000 Subject: [PATCH] Remove the parts concerning long double, as a prerelease of gcc3.0 fails to compile them. git-svn-id: https://svn.dealii.org/branches/Branch-3-1@4206 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/sparse_matrix.double.cc | 8 +++-- deal.II/lac/source/sparse_matrix.float.cc | 8 +++-- .../lac/source/sparse_matrix.long_double.cc | 36 ------------------- 3 files changed, 10 insertions(+), 42 deletions(-) delete mode 100644 deal.II/lac/source/sparse_matrix.long_double.cc diff --git a/deal.II/lac/source/sparse_matrix.double.cc b/deal.II/lac/source/sparse_matrix.double.cc index da61ded2aa..b7e6ce4658 100644 --- a/deal.II/lac/source/sparse_matrix.double.cc +++ b/deal.II/lac/source/sparse_matrix.double.cc @@ -28,10 +28,12 @@ template class SparseMatrix; #include -#undef TYPE2 -#define TYPE2 long double + // a prerelease of gcc3.0 fails to + // compile this due to long double +// #undef TYPE2 +// #define TYPE2 long double -#include +// #include #undef TYPE2 #undef TYPEMAT diff --git a/deal.II/lac/source/sparse_matrix.float.cc b/deal.II/lac/source/sparse_matrix.float.cc index 4825be0df8..5d6254ff23 100644 --- a/deal.II/lac/source/sparse_matrix.float.cc +++ b/deal.II/lac/source/sparse_matrix.float.cc @@ -30,7 +30,9 @@ template class SparseMatrix; #include -#undef TYPE2 -#define TYPE2 long double + // a prerelease of gcc3.0 fails to + // compile this due to long double +// #undef TYPE2 +// #define TYPE2 long double -#include +// #include diff --git a/deal.II/lac/source/sparse_matrix.long_double.cc b/deal.II/lac/source/sparse_matrix.long_double.cc deleted file mode 100644 index 055c8423ed..0000000000 --- a/deal.II/lac/source/sparse_matrix.long_double.cc +++ /dev/null @@ -1,36 +0,0 @@ -//---------------------------- sparse_matrix.long_double.cc --------------------------- -// $Id$ -// Version: $Name$ -// -// Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors -// -// This file is subject to QPL and may not be distributed -// without copyright and license information. Please refer -// to the file deal.II/doc/license.html for the text and -// further information on this license. -// -//---------------------------- sparse_matrix.long_double.cc --------------------------- - - -#include -#include - - -#define TYPEMAT long double - -template class SparseMatrix; - - -#define TYPE2 float - -#include - -#undef TYPE2 -#define TYPE2 double - -#include - -#undef TYPE2 -#define TYPE2 long double - -#include -- 2.39.5