Commit 3d9496d7 authored by Davis King's avatar Davis King

Renamed a variable to avoid a name conflict on windows which was pointed out by

Ahti Leppänen.
parent 55a0ee9c
......@@ -13,7 +13,7 @@ namespace dlib
template <typename T, typename funct>
T impl_adapt_simp_stop(const funct& f, T a, T b, T fa, T fm, T fb, T is, int cnt)
{
const int MAXINT = 500;
const int maxint = 500;
T m = (a + b)/2.0;
T h = (b - a)/4.0;
......@@ -30,7 +30,7 @@ namespace dlib
}
else
{
if(cnt < MAXINT)
if(cnt < maxint)
{
cnt = cnt + 1;
......
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