[Dune] [Dune-Commit] dune-istl r1533 - trunk/dune/istl
Ansgar Burchardt
ansgar.burchardt at iwr.uni-heidelberg.de
Mon Feb 13 17:59:30 CET 2012
On 02/13/2012 05:38 PM, christi at dune-project.org wrote:
> - if (x.N()!=M()) DUNE_THROW(ISTLError,"index out of range");
> - if (y.N()!=N()) DUNE_THROW(ISTLError,"index out of range");
> + if (x.N()!=M()) DUNE_THROW(ISTLError,
> + "Size missmatch: M: "<< N()<< "x"<< "M()"<< " x: "<< x.N());
> + if (y.N()!=N()) DUNE_THROW(ISTLError,
> + "Size missmatch: M: "<< N()<< "x"<< M()<< " y: "<< y.N());
There's a small spelling mistake (missmatch -> mismatch).
Regards,
Ansgar
More information about the Dune
mailing list