On the latest svn source, compiling with Intel C++ yields the following error:
/software/deal.II/source/grid/grid_refinement.cc(549): error: more
than one instance of overloaded function "std::pow" matches the
argument list:
function "pow(double, double)"
function "std::pow(double, int)"
argument types are: (double, unsigned int)
s0+= (1-std::pow(2.,-order)) * criteria(tmp[M]);
Changing that line to
s0+= (1.-std::pow(2.,-1.*order)) * criteria(tmp[M]);
fixes the issue. It is just the implicit conversion to int that bugs
the compiler.
Vijay
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii