]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix typo.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 3 Aug 1998 13:02:51 +0000 (13:02 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 3 Aug 1998 13:02:51 +0000 (13:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@473 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc
tests/big-tests/error-estimation/error-estimation.cc

index 8549548ad2caeceee7ae05d79b0520abfc29f756..7338de2dfcfaab0cba2bfcda741e3fa053bad35e 100644 (file)
@@ -483,7 +483,7 @@ void PoissonProblem<dim>::run (ParameterHandler &prm) {
                         solution,
                         estimated_error_per_cell,
                         ((prm.get("Test case")=="Kink") ?
-                         kink_coefficient : 0 ));
+                         &kink_coefficient : 0 ));
       cout << estimated_error_per_cell.l2_norm() << endl;
       estimated_error.push_back (estimated_error_per_cell.l2_norm());
 
index 8549548ad2caeceee7ae05d79b0520abfc29f756..7338de2dfcfaab0cba2bfcda741e3fa053bad35e 100644 (file)
@@ -483,7 +483,7 @@ void PoissonProblem<dim>::run (ParameterHandler &prm) {
                         solution,
                         estimated_error_per_cell,
                         ((prm.get("Test case")=="Kink") ?
-                         kink_coefficient : 0 ));
+                         &kink_coefficient : 0 ));
       cout << estimated_error_per_cell.l2_norm() << endl;
       estimated_error.push_back (estimated_error_per_cell.l2_norm());
 

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.