Skip to content

Commit

Permalink
Build fix: #include <limits> [GH issue 690]
Browse files Browse the repository at this point in the history
  • Loading branch information
gl-yziquel committed Jan 8, 2024
1 parent bf4f51a commit 39f1ffc
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
4 changes: 3 additions & 1 deletion ccore/include/pyclustering/cluster/bsas.hpp
Expand Up @@ -9,6 +9,8 @@
#pragma once


#include <limits>

#include <pyclustering/cluster/bsas_data.hpp>

#include <pyclustering/utils/metric.hpp>
Expand Down Expand Up @@ -159,4 +161,4 @@ class bsas {

}

}
}
4 changes: 3 additions & 1 deletion ccore/include/pyclustering/cluster/mbsas.hpp
Expand Up @@ -9,6 +9,8 @@
#pragma once


#include <limits>

#include <pyclustering/cluster/bsas.hpp>
#include <pyclustering/cluster/mbsas_data.hpp>

Expand Down Expand Up @@ -70,4 +72,4 @@ class mbsas : public bsas {

}

}
}
4 changes: 3 additions & 1 deletion ccore/include/pyclustering/cluster/pam_build.hpp
Expand Up @@ -10,6 +10,8 @@
#pragma once


#include <limits>

#include <functional>
#include <numeric>
#include <vector>
Expand Down Expand Up @@ -158,4 +160,4 @@ class pam_build {

}

}
}
2 changes: 2 additions & 0 deletions ccore/src/cluster/agglomerative.cpp
Expand Up @@ -6,6 +6,8 @@
*/

#include <limits>

#include <pyclustering/cluster/agglomerative.hpp>
#include <pyclustering/utils/metric.hpp>

Expand Down
4 changes: 3 additions & 1 deletion ccore/src/cluster/bsas.cpp
Expand Up @@ -7,6 +7,8 @@
*/


#include <limits>

#include <pyclustering/cluster/bsas.hpp>


Expand Down Expand Up @@ -75,4 +77,4 @@ void bsas::update_representative(const std::size_t p_index, const point & p_poin

}

}
}
4 changes: 3 additions & 1 deletion ccore/src/cluster/silhouette.cpp
Expand Up @@ -6,6 +6,8 @@
*/

#include <limits>

#include <pyclustering/cluster/silhouette.hpp>


Expand Down Expand Up @@ -113,4 +115,4 @@ double silhouette::caclulate_optimal_neighbor_cluster_score(const std::size_t p_

}

}
}
4 changes: 3 additions & 1 deletion ccore/src/container/kdtree_searcher.cpp
Expand Up @@ -6,6 +6,8 @@
*/

#include <limits>

#include <pyclustering/container/kdtree_searcher.hpp>

#include <pyclustering/utils/metric.hpp>
Expand Down Expand Up @@ -126,4 +128,4 @@ void kdtree_searcher::clear() const {

}

}
}

0 comments on commit 39f1ffc

Please sign in to comment.