[Dune] bug in DenseMatrix

Oliver Sander sander at mi.fu-berlin.de
Wed May 9 20:35:14 CEST 2012


Hi Martin,
I am not quite sure I understand what you are trying to tell me?
cheers,
Oliver

Am 09.05.2012 17:45, schrieb Martin Nolte:
> 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
>




More information about the Dune mailing list