]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #10465 from peterrum/internal_TriaAccessorImplementation_Implement...
authorMatthias Maier <tamiko@43-1.org>
Wed, 10 Jun 2020 20:59:42 +0000 (15:59 -0500)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2020 20:59:42 +0000 (15:59 -0500)
Remove unneeded template argument

1  2 
include/deal.II/grid/tria_accessor.templates.h

index b0db183c797f3942f1337d022083371e13b53345,bde6188cc9c97d8acf64d238d1289acbec990515..30af45147766ca480d25e8d15d8206cd6d425db7
@@@ -565,13 -562,12 +563,11 @@@ namespace interna
        }
  
  
-       template <int dim, int spacedim>
        inline static unsigned int
-       quad_index(const TriaAccessor<3, dim, spacedim> &accessor,
-                  const unsigned int                    i)
+       quad_index(const TriaAccessor<3, 3, 3> &accessor, const unsigned int i)
        {
          return accessor.tria->levels[accessor.present_level]
 -          ->cells.get_object(accessor.present_index)
 -          .face(i);
 +          ->cells.get_bounding_object_indices(accessor.present_index)[i];
        }
  
  

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.