Commit 2bf68f2c authored by Davis King's avatar Davis King

Removed unneeded declarations of the constant pi

parent 6a8dfdaa
......@@ -240,7 +240,6 @@ namespace dlib
hist_counts.set_size(img.nr()-2, img.nc()-2);
const double pi = 3.1415926535898;
for (long r = 0; r < hist_counts.nr(); ++r)
......
......@@ -282,7 +282,6 @@ namespace dlib
}
}
const double pi = 3.1415926535898;
// loop over all the histogram cells and fill them out
for (long rh = 1; rh < hist_cells.nr()-1; ++rh)
......
......@@ -88,7 +88,6 @@ namespace dlib
<< "\n\t scale: " << scale
);
const double pi = 3.1415926535898;
std::vector<double> ang;
std::vector<dlib::vector<double,2> > samples;
......
......@@ -273,7 +273,6 @@ namespace
}
{
const double pi = 3.1415926535898;
point p1, center;
center = point(3,4);
......
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