From 4272e6f9e4c47bff6eeff57612977969d57c407d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 28 Jul 2024 08:31:03 +0200 Subject: [PATCH] rogueviz:: fixed compile error in small_kendall --- rogueviz/statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/statistics.cpp b/rogueviz/statistics.cpp index 17cd9cf7..5423d8e0 100644 --- a/rogueviz/statistics.cpp +++ b/rogueviz/statistics.cpp @@ -101,7 +101,7 @@ template struct leastsquare_solver { } }; -template double small_kendall(const vector>& allp) { +template double small_kendall(const vector>& allp) { int maxo = 0, maxe = 0; for(const auto& a: allp) maxo = max(maxo, a.first), maxe = max(maxe, a.second); maxo++; maxe++;