[Dune] [Dune-Commit] dune-common r6219 - trunk/dune/common
Markus Blatt
Markus.Blatt at iwr.uni-heidelberg.de
Mon Nov 1 22:46:57 CET 2010
Hey,
On Sun, Oct 31, 2010 at 08:41:37PM +0100, mnolte at dune-project.org wrote:
> Author: mnolte
> Date: 2010-10-31 20:41:37 +0100 (Sun, 31 Oct 2010)
> New Revision: 6219
>
> Modified:
> trunk/dune/common/densevector.hh
> Log:
> don't use implicit cast from int to field_type
>
>
> Modified: trunk/dune/common/densevector.hh
> ===================================================================
> --- trunk/dune/common/densevector.hh 2010-10-30 20:08:40 UTC (rev 6218)
> +++ trunk/dune/common/densevector.hh 2010-10-31 19:41:37 UTC (rev 6219)
> @@ -447,7 +447,7 @@
> value_type operator* (const DenseVector& y) const
> {
> assert(y.size() == size());
> - value_type result = 0;
> + value_type result( 0 );
Just wondering: Would this compile if value_type is e.g. a
FieldMatrix?
Cheers,
Markus
More information about the Dune
mailing list