[Dune] bug in DenseMatrix

Martin Nolte nolte at mathematik.uni-freiburg.de
Wed May 9 17:45:28 CEST 2012


Hi Oli,

here, a feature is once more a bug:

FMatrixPrecision<> means FMatrixPrecision<double>

I guess we simply need to use FMatrixPrecision<real_type>. This should be easy 
to fix.

Best,

Martin



On 05/09/2012 05:24 PM, Oliver Sander wrote:
> Hi Lars,
> I can confirm this. The error exists in the trunk, too.
> Can you please file a bug?
> Thanks,
> Oliver
>
> Am 09.05.2012 15:32, schrieb Lars Lubkoll:
>> Hi,
>>
>> I am currently using Dune 2.1.1 with gcc4.6.2. It looks like I have
>> found a bug in "DenseMatrix<float>". When using Dune::FieldMatrix<T,r,c>
>> with T=float and use its solve-method the compiler complains that it
>> can't find the methods "max(float,double)" and "max(double,float)" in
>> densematrix.hh.
>> For an example try compiling fmatrix_test.cpp
>>
>> Kind Regards
>>
>>
>> Lars Lubkoll
>>
>>
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at dune-project.org
>> http://lists.dune-project.org/mailman/listinfo/dune
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-- 
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5630
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the Dune mailing list