From 41e8427b6f2bb9c5de755ae9cbf50bb50c47280e Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 7 Dec 2010 03:38:23 +0000 Subject: [PATCH] No need any more to provide operator== in the test file since it is now available in the class itself. git-svn-id: https://svn.dealii.org/trunk@22931 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/sparsity_pattern.cc | 23 +------------------- tests/deal.II/sparsity_pattern_01.cc | 24 +-------------------- tests/deal.II/sparsity_pattern_01_x.cc | 23 +------------------- tests/deal.II/sparsity_pattern_05.cc | 29 +------------------------- tests/deal.II/sparsity_pattern_05_x.cc | 29 +------------------------- tests/deal.II/sparsity_pattern_x.cc | 23 +------------------- 6 files changed, 6 insertions(+), 145 deletions(-) diff --git a/tests/deal.II/sparsity_pattern.cc b/tests/deal.II/sparsity_pattern.cc index 8e551ce043..f76ff6e240 100644 --- a/tests/deal.II/sparsity_pattern.cc +++ b/tests/deal.II/sparsity_pattern.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2000, 2001, 2003, 2004 by the deal.II authors +// Copyright (C) 2000, 2001, 2003, 2004, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -37,27 +37,6 @@ -bool operator == (const SparsityPattern &sp1, - const SparsityPattern &sp2) -{ - if (sp1.n_nonzero_elements() != sp2.n_nonzero_elements()) - return false; - - for (unsigned int i=0; i - -bool operator == (const SparsityPattern &sp1, - const SparsityPattern &sp2) -{ - if (sp1.n_nonzero_elements() != sp2.n_nonzero_elements()) - return false; - - for (unsigned int i=0; i