We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to build ripser with g++ -Wall ripser.cpp -o ripser -g but i get the following error:
ripser.cpp: In constructor 'ripser<compressed_distance_matrix<(compressed_matrix_layout)0u> >::simplex_coboundary_enumerator::simplex_coboundary_enumerator(diameter_entry_t, index_t, const ripser<compressed_distance_matrix<(compressed_matrix_layout)0u> >&)': ripser.cpp:845:62: error: no matching function for call to 'diameter_entry_t::diameter_entry_t()' binomial_coeff(_parent.binomial_coeff), parent(_parent) { ^ ripser.cpp:182:37: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr diameter_entry_t::diameter_entry_t(const float&, const entry_t&) using std::pair<value_t, entry_t>::pair; ^~~~ ripser.cpp:182:37: note: template argument deduction/substitution failed: ripser.cpp:845:62: note: candidate expects 2 arguments, 0 provided binomial_coeff(_parent.binomial_coeff), parent(_parent) { ^ ripser.cpp:182:37: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && (! _ImplicitlyConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr diameter_entry_t::diameter_entry_t(const float&, const entry_t&) using std::pair<value_t, entry_t>::pair; ^~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to build ripser with g++ -Wall ripser.cpp -o ripser -g but i get the following error:
ripser.cpp: In constructor 'ripser<compressed_distance_matrix<(compressed_matrix_layout)0u> >::simplex_coboundary_enumerator::simplex_coboundary_enumerator(diameter_entry_t, index_t, const ripser<compressed_distance_matrix<(compressed_matrix_layout)0u> >&)': ripser.cpp:845:62: error: no matching function for call to 'diameter_entry_t::diameter_entry_t()' binomial_coeff(_parent.binomial_coeff), parent(_parent) { ^ ripser.cpp:182:37: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type <anonymous> > constexpr diameter_entry_t::diameter_entry_t(const float&, const entry_t&) using std::pair<value_t, entry_t>::pair; ^~~~ ripser.cpp:182:37: note: template argument deduction/substitution failed: ripser.cpp:845:62: note: candidate expects 2 arguments, 0 provided binomial_coeff(_parent.binomial_coeff), parent(_parent) { ^ ripser.cpp:182:37: note: candidate: template<class _U1, class _U2, typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && (! _ImplicitlyConvertiblePair<_U1, _U2>())), bool>::type <anonymous> > constexpr diameter_entry_t::diameter_entry_t(const float&, const entry_t&) using std::pair<value_t, entry_t>::pair; ^~~~
The text was updated successfully, but these errors were encountered: