[Dune-devel] [Dune-Commit] [Commit] dune-common - 31625a0: Adjust fmatrixtest to use initializer lists.
Christoph Grüninger
christoph.grueninger at iws.uni-stuttgart.de
Mon Oct 13 16:51:28 CEST 2014
Hi Markus,
hi Dominic,
we can reintroduce the test code and surround it by
a DISABLE_DEPRECATED_METHOD_CHECK. If this macro is set
we can return exit code 77.
Would this be acceptable for Dune 2.4?
Bye
Christoph
> Hi,
>
> On Wed, Oct 08, 2014 at 10:30:46AM +0200, Dominic Kempf
>wrote:
>> New commit, appeared at Wed Oct 8 10:30:46 2014 +0200
>> as part of the following ref changes:
>>
>> branch refs/heads/master updated from 650370a ->
>>275c824
>>
>> Browsable version:
>>http://cgit.dune-project.org/repositories/dune-common/commit/?id=31625a0b94688239c8045c2e6fd689daa91d7872
>>
>> ======================================================================
>>
>> commit 31625a0b94688239c8045c2e6fd689daa91d7872
>> Author: Dominic Kempf <dominic.kempf at iwr.uni-heidelberg.de>
>> Date: Mon Oct 6 14:31:04 2014 +0200
>>
>> Adjust fmatrixtest to use initializer lists.
>>
>> dune/common/test/fmatrixtest.cc | 26
>>++++++++++++--------------
>> 1 file changed, 12 insertions(+), 14 deletions(-)
>>
>>
>>
>> diff --git a/dune/common/test/fmatrixtest.cc
>>b/dune/common/test/fmatrixtest.cc
>> index 48e659c..3db6a9a 100644
>> --- a/dune/common/test/fmatrixtest.cc
>> +++ b/dune/common/test/fmatrixtest.cc
>> @@ -8,7 +8,6 @@
>> #define DUNE_ISTL_WITH_CHECKING
>> #endif
>> #include <dune/common/fmatrix.hh>
>> -#include <dune/common/fassign.hh>
>> #include <dune/common/classname.hh>
>> #include <iostream>
>> #include <algorithm>
>> @@ -452,16 +451,16 @@ void test_ev()
>> * A small, nonzero eigenvalue
>>
>> */
>> - Dune::FieldMatrix<ft,8,8> A;
>> - A <<=
>> - 611, 196, -192, 407, -8, -52, -49, 29, Dune::nextRow,
>> [...]
>
> actually this is a bit overeager. IMHO even deprecated
>features should
> and need to be tested in addition to the new interface.
>Otherwise
> there is no way that we can be sure about their
>functionality.
>
> Cheers,
>
> Markus
--
Das Kommt darauf an, in welchen Zeiträumen du
rechnest. Für Geologen: ja, in naher Zukunft
[Stefan Seyfried in suse-laptop]
More information about the Dune-devel
mailing list