Hi developers,

I just downloaded the latest libmesh version and when I compile it in
complex mode, the compiler throws an error from distributed_vector.h:

In member function »Real DistributedVector<T>::min() const [with T =
std::complex<double>]«:
src/numerics/numeric_vector.C:182:   instantiated from here
/libmesh/include/numerics/distributed_vector.h:695: error: ungültiges
static_cast vom Typ »const std::complex<double>« in den Typ »double«

(and the same for the Real DistributedVector<T>::max() )

The wired thing is though, that my 2.5 years old version of libmesh has
exactly the same line in the code that throws an error in the new
version but it works (  double local_min =
static_cast<double>(*std::min(_values.begin(), _values.end()));).

 So what changed since?

Thanks,

Jan
begin:vcard
fn:Jan  Biermann
n:Biermann;Jan 
org:;Institute for Modelling and Computation
adr;quoted-printable;dom:;;Denickestra=C3=9Fe 17;Hamburg;;21073
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
tel;work:+4940428784480
url:http://www.mub.tu-harburg.de
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to