]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a syntactic problem and one bug with an invalid index.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 May 2007 16:22:02 +0000 (16:22 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 16 May 2007 16:22:02 +0000 (16:22 +0000)
git-svn-id: https://svn.dealii.org/trunk@14679 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-24/step-24.cc

index 623f5de84ad0f0432e0cac8f0f858446cea405bd..0b977696b65811411348cc8e09a287b6bbeb1264 100644 (file)
@@ -622,7 +622,7 @@ void TATForwardProblem<dim>::run ()
       
 
       detector_data << time;
-      for (unsigned i=0 ; i<=detector_locations.size(); ++i)
+      for (unsigned int i=0 ; i<detector_locations.size(); ++i)
        detector_data << " "
                      << VectorTools::point_value (dof_handler,
                                                   solution_p, 

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.