]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix annoying bug of myself :-(
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 9 Apr 2001 17:08:44 +0000 (17:08 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 9 Apr 2001 17:08:44 +0000 (17:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@4418 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria_boundary.cc

index 93b8deeeecd74971578968d9486887f1c658b3e6..867d15e987b17edc8c754f0b684f8a01af210b69 100644 (file)
@@ -184,10 +184,10 @@ get_intermediate_points_on_quad (const typename Triangulation<dim>::quad_iterato
                                   quad->vertex(2),
                                   quad->vertex(3) };
 
-  for (unsigned int i=0; i<n; ++i, y+=ds)
+  for (unsigned int i=0; i<m; ++i, y+=ds)
     {
       double x=ds;
-      for (unsigned int j=0; j<n; ++j, x+=ds)
+      for (unsigned int j=0; j<m; ++j, x+=ds)
        points[i*m+j]=((1-x) * vertices[0] +
                       x     * vertices[1]) * (1-y) +
                      ((1-x) * vertices[3] +

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.