]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove the test that we produce an exception for invalid accesses. This can't be...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 3 Jul 2011 03:12:53 +0000 (03:12 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 3 Jul 2011 03:12:53 +0000 (03:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@23915 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/slice_vector.cc
tests/base/slice_vector/cmp/generic

index ab9220f23ed4634a4d0204b4ba656acfb8cc2a2c..fa3ab3be57250874b5524d6dfcbb009867a97ec4 100644 (file)
@@ -56,9 +56,4 @@ int main()
   f(v);
 
   make_slice(v, 3, 5);
-
-                                  // access an element beyond the end
-                                  // to verify that we generate an
-                                  // exception for that
-  (void) s[4];
 }
index afe2b10579e57483c397e1f753f26e12d107d3a5..82fd3f52c098881ae2cb6a8099392a24361fd91c 100644 (file)
@@ -2,4 +2,3 @@
 DEAL:: 0       1       2       0       1       2       3
 DEAL:: 2       0       1
 DEAL::ExcIndexRange(length, 0, v.size()-start+1)
-DEAL::ExcIndexRange(i, 0, length)

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.