gravitino / cudaGSEA

CUDA-accelerated Gene Set Enrichment Analysis
8 stars 7 forks source link

error: namespace "std" has no member "iota" #1

Open ivokwee opened 6 years ago

ivokwee commented 6 years ago

Hi. Just to tell, I had this error

include/batched_sort.cuh(306): error: namespace "std" has no member "iota"

and had to add

#include <numeric>

to the file. System: gcc 7.3.0, cuda-9.0, Ubuntu 18.04

Ivo

ivokwee commented 6 years ago

I also had to prepend std::isnan before isnan in file cudaGSEA_wrapper.cpp because of this error

                 if(isnan(value)) {
                    ^~~~~
cudaGSEA_wrapper.cpp:194:20: note: suggested alternative:
In file included from cudaGSEA_wrapper.cpp:4:0:
/usr/include/c++/7/cmath:639:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^~~~~