]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
bug removed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 May 2000 02:36:10 +0000 (02:36 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 26 May 2000 02:36:10 +0000 (02:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@2949 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/function_lib.cc

index 001bc23227b50e0c8b509bc9203c6a62e8ebcd4d..a7319a9e522b8ffdaa8b4de95db7c7c8b6582491 100644 (file)
@@ -163,7 +163,7 @@ PillowFunction<dim>::gradient_list (const vector<Point<dim> > &points,
          case 2:
                gradients[i][0] = -2.*p(0)*(1.-p(1)*p(1));
                gradients[i][1] = -2.*p(1)*(1.-p(0)*p(0));
-               return;
+               break;
          case 3:
                gradients[i][0] = -2.*p(0)*(1.-p(1)*p(1))*(1.-p(2)*p(2));
                gradients[i][1] = -2.*p(1)*(1.-p(0)*p(0))*(1.-p(2)*p(2));

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.