mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-06 14:01:48 +00:00
rogueviz:: fixed compile error in small_kendall
This commit is contained in:
parent
6992b32b79
commit
4272e6f9e4
@ -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;
|
int maxo = 0, maxe = 0;
|
||||||
for(const auto& a: allp) maxo = max(maxo, a.first), maxe = max(maxe, a.second);
|
for(const auto& a: allp) maxo = max(maxo, a.first), maxe = max(maxe, a.second);
|
||||||
maxo++; maxe++;
|
maxo++; maxe++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user