Skip to content

Commit

Permalink
rogueviz:: fixed compile error in small_kendall
Browse files Browse the repository at this point in the history
  • Loading branch information
zenorogue committed Jul 28, 2024
1 parent 6992b32 commit 4272e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rogueviz/statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ template<size_t N> struct leastsquare_solver {
}
};

template<size_t dim1, size_t dim2> double small_kendall(const vector<pair<int, int>>& allp) {
template<int dim1, int dim2> double small_kendall(const vector<pair<int, int>>& allp) {
int maxo = 0, maxe = 0;
for(const auto& a: allp) maxo = max(maxo, a.first), maxe = max(maxe, a.second);
maxo++; maxe++;
Expand Down

0 comments on commit 4272e6f

Please sign in to comment.