]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a test so that it also runs in 64-bit mode. 1892/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 21 Nov 2015 02:05:31 +0000 (20:05 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 21 Nov 2015 02:05:31 +0000 (20:05 -0600)
tests/lac/linear_operator_08.cc

index 00afe7e226526773d90b5520561d5d68007162c4..9f8a1d57db71adf70fd34d774d2fd6847546c387 100644 (file)
@@ -260,8 +260,8 @@ int main()
     {
       deallog << "PreconditionPSOR" << std::endl;
       typedef PreconditionPSOR< SparseMatrix<double> > PREC;
-      std::vector<unsigned int> permutation(b.size());
-      std::vector<unsigned int> inverse_permutation(b.size());
+      std::vector<PREC::size_type> permutation(b.size());
+      std::vector<PREC::size_type> inverse_permutation(b.size());
       test_preconditioner<PREC>(A, b,
                                 typename PREC::AdditionalData(permutation,
                                                               inverse_permutation));

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.