Using gcc 6 (fedora 24) I cannot compile hmat unless I replace isnan by std::isnan in compression.cpp & full_matrix.cpp:
[ 21%] Building CXX object CMakeFiles/hmat-oss.dir/src/compression.cpp.o
[ 302s] /home/abuild/rpmbuild/BUILD/hmat-oss-1.1.2/src/compression.cpp: In function 'hmat::RkMatrix<typename hmat::Types<T>::dp>* hmat::compress(hmat::CompressionMethod, const hmat::Function<T>&, const hmat::ClusterData*, const hmat::ClusterData*)':
[ 302s] /home/abuild/rpmbuild/BUILD/hmat-oss-1.1.2/src/compression.cpp:743:25: error: there are no arguments to 'isnan' that depend on a template parameter, so a declaration of 'isnan' must be available [-fpermissive]
[ 302s] if (isnan(approxNorm)) {
Using gcc 6 (fedora 24) I cannot compile hmat unless I replace isnan by std::isnan in compression.cpp & full_matrix.cpp: