[dune-pdelab] [dune-pdelab-commit] [Commit] dune-pdelab - 1ed50f5: [Bugfix] Use freestanding TypeTree::child() when it might get passed an empty TreePath

Christian Engwer christian.engwer at uni-muenster.de
Wed Sep 16 12:05:26 CEST 2015


Hi Steffen,

regarding your latest changes in typetree (which I think as a reat
improvement) I think that we should drop the ".child" method, as it
seems to be kind of error-prone.

Christian

On Wed, Sep 16, 2015 at 11:13:03AM +0200, Steffen Müthing wrote:
> New commit, appeared at Wed Sep 16 11:13:03 2015 +0200
> as part of the following ref changes:
> 
>     branch refs/heads/master    updated from be7c463 -> 1ed50f5
> 
> Browsable version: http://cgit.dune-project.org/repositories/dune-pdelab/commit/?id=1ed50f5adacf34a53b08d24cd6dede5940d8c805
> 
> ======================================================================
> 
> commit 1ed50f5adacf34a53b08d24cd6dede5940d8c805
> Author: Steffen Müthing <muething at dune-project.org>
> Date:   Wed Sep 16 11:10:44 2015 +0200
> 
>     [Bugfix] Use freestanding TypeTree::child() when it might get passed an empty TreePath
> 
>  dune/pdelab/ordering/subordering.hh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> 
> diff --git a/dune/pdelab/ordering/subordering.hh b/dune/pdelab/ordering/subordering.hh
> index eaf4679..54b9401 100644
> --- a/dune/pdelab/ordering/subordering.hh
> +++ b/dune/pdelab/ordering/subordering.hh
> @@ -143,7 +143,7 @@ namespace Dune {
>            }
>  
>          // Call the single-level mapping step of our ancestor ordering.
> -        baseOrdering().child(tp).map_lfs_indices(begin,end,out);
> +        TypeTree::child(baseOrdering(),tp).map_lfs_indices(begin,end,out);
>        }
>  
>        // Template recursion for walking up the TreePath to the BaseOrdering
> 
> _______________________________________________
> dune-pdelab-commit mailing list
> dune-pdelab-commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab-commit

-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail  christian.engwer at uni-muenster.de
Telefon +49 251 83-35067
FAX     +49 251 83-32729




More information about the dune-pdelab mailing list