LUK ShunTim wrote:

Hello,

I'm trying out getfem++ and got this error when compiling

Error message:
getfem_integration.cc:1241: error: call of overloaded 'pow(double, short
unsigned int&)' is ambiguous
/usr/include/bits/mathcalls.h:154: note: candidates are: double pow(double, 
double)
/usr/include/qd/dd.h:132: note:                 dd_real pow(const dd_real&, int)
/usr/include/qd/qd.h:136: note:                 qd_real pow(const qd_real&, int)

System information:
Debian/sid, gcc-4.0, libqd2.1.142, getfem++ 2.0

Hello, here is the patch for the svn trunk:
http://svn.gna.org/viewcvs/getfem?rev=2350&view=rev

However, I suggest that you do not use QD if you do not really need it (i.e. if you intend to work with very high degree FEM such as P8, P10 etc.), since it has an impact on the performances of the assembly.

--
julien

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to