[Dune] [Fwd: Re: [Dune-Commit] dune-istl r929 - trunk/istl]
Markus Blatt
Markus.Blatt at ipvs.uni-stuttgart.de
Mon Oct 6 12:02:30 CEST 2008
Hi,
On Mon, Aug 04, 2008 at 12:46:46PM +0200, Markus Blatt wrote:
> Could everybody participating in the discussion tell me whether this
> solution is OK?
>
> Markus
>
> P.S.: Diff is attached
> Index: dune-common/common/fmatrix.hh
> ===================================================================
> --- dune-common/common/fmatrix.hh (Revision 5251)
> +++ dune-common/common/fmatrix.hh (Arbeitskopie)
> @@ -9,6 +9,7 @@
> #include "exceptions.hh"
> #include "fvector.hh"
> #include "precision.hh"
> +#include "static_assert.hh"
>
> namespace Dune {
>
> @@ -24,7 +25,38 @@
> */
>
> template<class K, int n, int m> class FieldMatrix;
> +
> + template<class K, int n, int m, typename T>
> + void istl_assign_to_fmatrix(FieldMatrix<K,n,m>& f, const T& t)
> + {
> + throw "You need to overload this function!";
> + // dune_static_assert(false, "You need to overload this function!");
> + }
> +
> [...]
Proposed patch applied in revision 946 of istl.
Markus
More information about the Dune
mailing list