]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a comment and let gcc complain about unused variables.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 Mar 2014 11:36:13 +0000 (11:36 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 Mar 2014 11:36:13 +0000 (11:36 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32637 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/numerics/point_value_history.cc

index 5fcaa201e3fd504422aa28a5e54fc28e2882f5b2..7322ed115dcdd8891dfa5249a1824a58cc1f2e79 100644 (file)
@@ -582,7 +582,8 @@ void PointValueHistory<dim>
   // up front means that it only needs
   // to be done once and also allows us
   // to check vector_name is in the map.
-  typename std::map <std::string, std::vector <std::vector <double> > >::iterator data_store_field = data_store.find(vector_name);
+  typename std::map <std::string, std::vector <std::vector <double> > >::iterator 
+    data_store_field = data_store.find(vector_name);
   Assert (data_store_field != data_store.end(), ExcMessage("vector_name not in class"));
 
   // Repeat for component_mask
@@ -604,11 +605,8 @@ void PointValueHistory<dim>
           if (mask->second[comp])
             {
               unsigned int solution_index = point->solution_indices[comp];
-             //@whattodo data_store_field shoud be typename VECTOR::value_type, but that cuase problems elsewhere...
-              (void) solution_index; // stop g++ complaining: eventually remove this
-              (void) n_stored;       // stop g++ complaining: eventually remove this
-    
-             // data_store_field->second[data_store_index * n_stored + store_index].push_back (solution (solution_index));
+             //@whattodo 
+             // data_store_field->second[data_store_index * n_stored + store_index].push_back (solution (solution_index));
              Assert ((false), ExcMessage ("This function is corrupt: @whattodo"));
 
               store_index++;

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.