[Dune] [Dune-Commit] dune-grid r6343 - trunk/dune/grid/test
Christian Engwer
christi at uni-hd.de
Thu Feb 18 16:06:29 CET 2010
Hi Martin,
please try to avoid whitespace changes.... I know it sometimes
happens. We are all trying.
Christian
On Thu, Feb 18, 2010 at 03:45:16PM +0100, mnolte at dune-project.org wrote:
> Author: mnolte
> Date: 2010-02-18 15:45:15 +0100 (Thu, 18 Feb 2010)
> New Revision: 6343
>
> Modified:
> trunk/dune/grid/test/checkiterators.cc
> Log:
> bugfix: assigning an int to an id is undefined
>
>
> Modified: trunk/dune/grid/test/checkiterators.cc
> ===================================================================
> --- trunk/dune/grid/test/checkiterators.cc 2010-02-18 13:17:52 UTC (rev 6342)
> +++ trunk/dune/grid/test/checkiterators.cc 2010-02-18 14:45:15 UTC (rev 6343)
> @@ -49,8 +49,7 @@
> for( int i = 0; i < entity.template count< codim >(); ++i )
> {
> #if defined DUNE_ENABLE_OLD_NUMBERING && !DISABLE_DEPRECATED_METHOD_CHECK
> - IdType idOld = idSet.template subId<codim>( entity, i);
> - idOld = 0;
> + IdType idOld = idSet.template subId< codim >( entity, i );
> #endif
> IdType id = idSet.subId( entity, i, codim );
> if( count[ id ] != 1 )
>
>
> _______________________________________________
> Dune-Commit mailing list
> Dune-Commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-commit
>
More information about the Dune
mailing list