Skip to content

Instantly share code, notes, and snippets.

@OXPHOS
Created June 21, 2016 22:39
Show Gist options
  • Save OXPHOS/b07673fd736a66cf01a8e1ba9c6ef72f to your computer and use it in GitHub Desktop.
Save OXPHOS/b07673fd736a66cf01a8e1ba9c6ef72f to your computer and use it in GitHub Desktop.
[ 28%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/lib/SGMatrix.cpp.o
/Users/zora/Github/shogun/src/shogun/lib/SGMatrix.cpp:900:22: error: call to constructor of 'SGVector<float64_t>' is ambiguous
SGVector<float64_t> result(NULL, 0, true);
^ ~~~~~~~~~~~~~
/Users/zora/Github/shogun/src/shogun/lib/SGVector.h:70:3: note: candidate constructor
SGVector(T* v, index_t len, bool ref_counting=true);
^
/Users/zora/Github/shogun/src/shogun/lib/SGVector.h:83:3: note: candidate constructor
SGVector(GPUMemoryBase<T>* vector, index_t len, bool ref_counting=true);
^
/Users/zora/Github/shogun/src/shogun/lib/SGVector.h:73:3: note: candidate constructor
SGVector(T* m, index_t len, index_t offset)
^
1 error generated.
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/lib/SGMatrix.cpp.o] Error 1
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment