Commit a6b4162d authored by Jens Kroeger's avatar Jens Kroeger
Browse files

Cluster: cleaner to use numeric_limits::lowest

parent f04f3fa8
Pipeline #2694609 passed with stages
in 25 minutes and 38 seconds
......@@ -51,7 +51,7 @@ std::vector<const Pixel*> Cluster::pixels() const {
const Pixel* Cluster::getSeedPixel() const {
Pixel* seed = nullptr;
double maxcharge = -std::numeric_limits<double>::max();
double maxcharge = std::numeric_limits<double>::lowest();
// loop overall pixels and find the one with the largest charge:
for(auto& px : m_pixels) {
auto pxl = dynamic_cast<Pixel*>(px.GetObject());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment