1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 13:07:16 +00:00

rogueviz:: fixed compile error in small_kendall

This commit is contained in:
Zeno Rogue 2024-07-28 08:31:03 +02:00
parent 6992b32b79
commit 4272e6f9e4

View File

@ -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++;