#! /bin/sh /usr/share/dpatch/dpatch-run ## type_mismatch.dpatch by Sebastian Harl ## ## DP: Fixed a type mismatch when trying to instantiate std::max. @DPATCH@ --- a/src/anneal.h +++ b/src/anneal.h @@ -678,7 +678,7 @@ localK = stateSpace->size(); if (localK < 2) convergedPoints[index] = true; - kMax = std::max(kMax, stateProbabilities->size()); + kMax = std::max(kMax, (unsigned int)stateProbabilities->size()); }