Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template <class T>
- bool SGVector<T>::equals(SGVector<T>& other, float accuracy, bool tolerant)
- {
- if(other.vlen != vlen)
- return false ;
- for(index_t i=0 ; i<vlen ; i++){
- if(!CMath::fequals<T>(*vector+i ,*other.vector+i , accuracy, tolerant))
- {
- return false ;
- }
- }
- return true ;
- }
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8.2/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::allocator<_CharT>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::move_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::move_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::reverse_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::reverse_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8.2/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::pair<_T1, _T2>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/iosfwd:40:0,
- from /usr/include/c++/4.8.2/ios:38,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8.2/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:27: note: ‘const std::complex<double>’ is not derived from ‘const std::fpos<_StateT>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: error: no match for ‘operator==’ (operand types are ‘const std::complex<double>’ and ‘int’)
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: candidates are:
- In file included from /usr/include/c++/4.8.2/map:62:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_multimap.h:864:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_multimap.h:864:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/map:61:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_map.h:962:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator==(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_map.h:962:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/map:60:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_tree.h:907:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator==(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_tree.h:907:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/map:60:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_tree.h:310:5: note: template<class _Val> bool std::operator==(const std::_Rb_tree_iterator<_Tp>&, const std::_Rb_tree_const_iterator<_Val>&)
- operator==(const _Rb_tree_iterator<_Val>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_tree.h:310:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::_Rb_tree_iterator<_Tp>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algo.h:66:0,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/functional:2536:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
- operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
- ^
- /usr/include/c++/4.8.2/functional:2536:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: cannot convert ‘a’ (type ‘const std::complex<double>’) to type ‘std::nullptr_t’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algo.h:66:0,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/functional:2530:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
- operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
- ^
- /usr/include/c++/4.8.2/functional:2530:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::function<_Res(_ArgTypes ...)>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/functional:55:0,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:66,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator==(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8.2/tuple:811:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::tuple<_Elements ...>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/tuple:39:0,
- from /usr/include/c++/4.8.2/functional:55,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:66,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/array:228:5: note: template<class _Tp, long unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
- ^
- /usr/include/c++/4.8.2/array:228:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::array<_Tp, _Nm>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/random:52:0,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:65,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
- operator==(const std::normal_distribution<_RealType>& __d1,
- ^
- /usr/include/c++/4.8.2/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::normal_distribution<_RealType>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/vector:64:0,
- from /usr/include/c++/4.8.2/bits/random.h:34,
- from /usr/include/c++/4.8.2/random:50,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:65,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/bits/stl_vector.h:1403:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8.2/bits/stl_vector.h:1403:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::vector<_Tp, _Alloc>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65:0,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/complex:466:5: note: template<class _Tp> constexpr bool std::operator==(const _Tp&, const std::complex<_Tp>&)
- operator==(const _Tp& __x, const complex<_Tp>& __y)
- ^
- /usr/include/c++/4.8.2/complex:466:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: mismatched types ‘const std::complex<_Tp>’ and ‘int’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65:0,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/complex:461:5: note: template<class _Tp> constexpr bool std::operator==(const std::complex<_Tp>&, const _Tp&)
- operator==(const complex<_Tp>& __x, const _Tp& __y)
- ^
- /usr/include/c++/4.8.2/complex:461:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: deduced conflicting types for parameter ‘const _Tp’ (‘double’ and ‘int’)
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65:0,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/complex:456:5: note: template<class _Tp> constexpr bool std::operator==(const std::complex<_Tp>&, const std::complex<_Tp>&)
- operator==(const complex<_Tp>& __x, const complex<_Tp>& __y)
- ^
- /usr/include/c++/4.8.2/complex:456:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: mismatched types ‘const std::complex<_Tp>’ and ‘int’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/locale_facets.h:48:0,
- from /usr/include/c++/4.8.2/bits/basic_ios.h:37,
- from /usr/include/c++/4.8.2/ios:44,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
- operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
- ^
- /usr/include/c++/4.8.2/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::istreambuf_iterator<_CharT, _Traits>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2519:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2519:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2507:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2507:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: mismatched types ‘const _CharT*’ and ‘std::complex<double>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2493:5: note: template<class _CharT> typename __gnu_cxx::__enable_if<std::__is_char<_Tp>::__value, bool>::__type std::operator==(const std::basic_string<_CharT>&, const std::basic_string<_CharT>&)
- operator==(const basic_string<_CharT>& __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2493:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::basic_string<_CharT>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2486:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2486:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/string:41:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/allocator.h:133:5: note: template<class _Tp> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_CharT>&)
- operator==(const allocator<_Tp>&, const allocator<_Tp>&)
- ^
- /usr/include/c++/4.8.2/bits/allocator.h:133:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::allocator<_CharT>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/string:41:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/allocator.h:128:5: note: template<class _T1, class _T2> bool std::operator==(const std::allocator<_CharT>&, const std::allocator<_T2>&)
- operator==(const allocator<_T1>&, const allocator<_T2>&)
- ^
- /usr/include/c++/4.8.2/bits/allocator.h:128:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::allocator<_CharT>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1037:5: note: template<class _Iterator> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator==(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1037:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::move_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1031:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator==(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1031:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::move_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator==(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:341:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::reverse_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator==(const reverse_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:291:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::reverse_iterator<_Iterator>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8.2/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::pair<_T1, _T2>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- In file included from /usr/include/c++/4.8.2/iosfwd:40:0,
- from /usr/include/c++/4.8.2/ios:38,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
- operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
- ^
- /usr/include/c++/4.8.2/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:256:17: note: ‘const std::complex<double>’ is not derived from ‘const std::fpos<_StateT>’
- else if ( (a==0) || (b==0) || (diff < comp) )
- ^
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: error: no match for ‘operator<’ (operand types are ‘const std::complex<double>’ and ‘std::complex<double>’)
- return (diff<(eps * comp));
- ^
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: candidates are:
- In file included from /usr/include/c++/4.8.2/map:62:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_multimap.h:881:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_multimap.h:881:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/map:61:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_map.h:979:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_map.h:979:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/map:60:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_tree.h:917:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
- operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_tree.h:917:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/functional:55:0,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:66,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/tuple:822:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
- operator<(const tuple<_TElements...>& __t,
- ^
- /usr/include/c++/4.8.2/tuple:822:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::tuple<_Elements ...>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/tuple:39:0,
- from /usr/include/c++/4.8.2/functional:55,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:66,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/array:238:5: note: template<class _Tp, long unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
- operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
- ^
- [ 3%] /usr/include/c++/4.8.2/array:238:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::array<_Tp, _Nm>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/vector:64:0,
- from /usr/include/c++/4.8.2/bits/random.h:34,
- from /usr/include/c++/4.8.2/random:50,
- from /usr/include/c++/4.8.2/bits/stl_algo.h:65,
- from /usr/include/c++/4.8.2/algorithm:62,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:24:
- /usr/include/c++/4.8.2/bits/stl_vector.h:1420:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
- operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
- ^
- /usr/include/c++/4.8.2/bits/stl_vector.h:1420:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::vector<_Tp, _Alloc>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2593:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator<(const _CharT* __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2593:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: mismatched types ‘const _CharT*’ and ‘std::complex<double>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2581:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
- operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2581:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/string:52:0,
- from /usr/include/c++/4.8.2/bits/locale_classes.h:40,
- from /usr/include/c++/4.8.2/bits/ios_base.h:41,
- from /usr/include/c++/4.8.2/ios:42,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/basic_string.h:2569:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
- operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
- ^
- /usr/include/c++/4.8.2/bits/basic_string.h:2569:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1061:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
- operator<(const move_iterator<_Iterator>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1061:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::move_iterator<_Iterator>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1055:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
- operator<(const move_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:1055:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::move_iterator<_Iterator>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:347:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
- operator<(const reverse_iterator<_IteratorL>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_iterator.h:347:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::reverse_iterator<_Iterator>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:67:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_iterator.h:297:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
- operator<(const reverse_iterator<_Iterator>& __x,
- ^
- Building CXX object src/shogun/CMakeFiles/libshogun.dir/evaluation/MulticlassOVREvaluation.cpp.o
- /usr/include/c++/4.8.2/bits/stl_iterator.h:297:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::reverse_iterator<_Iterator>’
- return (diff<(eps * comp));
- ^
- In file included from /usr/include/c++/4.8.2/bits/stl_algobase.h:64:0,
- from /usr/include/c++/4.8.2/bits/char_traits.h:39,
- from /usr/include/c++/4.8.2/ios:40,
- from /usr/include/c++/4.8.2/istream:38,
- from /usr/include/c++/4.8.2/sstream:38,
- from /usr/include/c++/4.8.2/complex:45,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/common.h:65,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.h:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:17:
- /usr/include/c++/4.8.2/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
- operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
- ^
- /usr/include/c++/4.8.2/bits/stl_pair.h:220:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:257:18: note: ‘const std::complex<double>’ is not derived from ‘const std::pair<_T1, _T2>’
- return (diff<(eps * comp));
- ^
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:262:38: error: no match for ‘operator>’ (operand types are ‘std::complex<double>’ and ‘const std::complex<double>’)
- T check = ((diff/(absA + absB)) > diff)?
- ^
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:262:38: note: candidates are:
- In file included from /usr/include/c++/4.8.2/map:62:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_multimap.h:895:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
- operator>(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_multimap.h:895:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:262:38: note: ‘std::complex<double>’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’
- T check = ((diff/(absA + absB)) > diff)?
- ^
- In file included from /usr/include/c++/4.8.2/map:61:0,
- from /usr/include/eigen3/Eigen/SparseCore:9,
- from /usr/include/eigen3/Eigen/Sparse:19,
- from /home/nikolis/gitrepo/shogun/src/shogun/mathematics/eigen3.h:20,
- from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:25:
- /usr/include/c++/4.8.2/bits/stl_map.h:993:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator>(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
- operator>(const map<_Key, _Tp, _Compare, _Alloc>& __x,
- ^
- /usr/include/c++/4.8.2/bits/stl_map.h:993:5: note: template argument deduction/substitution failed:
- In file included from /home/nikolis/gitrepo/shogun/src/shogun/lib/SGVector.cpp:22:0:
- /home/nikolis/gitrepo/shogun/src/shogun/mathematics/Math.h:262:38: note: ‘std::complex<double>’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
- T check = ((diff/(absA + absB)) > diff)?
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement