mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 00:23:08 +00:00
rogueviz:: fixed compile error in small_kendall
This commit is contained in:
1 parent
6992b32b79
commit
4272e6f9e4
1 file changed
+1
-1
@@ -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++;
|
||||
|
||||
Reference in new issue
Block a user