mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 03:27:55 +00:00
rogueviz:: fixed compile error in small_kendall
This commit is contained in:
@@ -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