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:
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;
|
||||
for(const auto& a: allp) maxo = max(maxo, a.first), maxe = max(maxe, a.second);
|
||||
maxo++; maxe++;
|
||||
|
Loading…
Reference in New Issue
Block a user